Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can i pass a variable from my popup.js to my content script?

What I have tried:

I already tried import and export modules and also localStorage but they dont work as i want.
Posted
Updated 23-Aug-20 20:39pm

1 solution

Here, a similar question and the details on how to do it: javascript - Pass a variable from content script to popup - Stack Overflow[^]

try out!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900