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
Post a Comment