Hello.
How can you organize the logic:

  1. directly: from context_script_2.js в context_script_1.js
  2. such as through: xhr.open("GET", "http://site.ru/", true);
  3. from the background.js in context_script_2.js request for receiving data, having received the data in background.js, pass in context_script_1.js. As it is, this item seems complicated.
  • what purpose? What do you want to realize? - UserName
  • Quote: What do you want to realize? Transferring data from one tab to another, or from one: context_script_2.js to another: context_script_1.js - Max

0