javascript - pass variable from options page to content script chrome extension -


lets have in options.html , want take user-defined value of , define @ variable called keyword: var keyword = document.getelementbyid("keyword").value in options.js. want pass on variable keyword contentscript.js. i've looked @ both google chrome's message passing guide , storage guide on dev site. still can't execute way intend though. appreciated. thank you!


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -