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

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -