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 -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -