javascript - google chrome background page suggestions/help -


how can use background page, highlight keyword on website, no matter website (google chrome extension)? no pop ups or anything, edits keyword, on site viewing. i've seen done before, can't figure out how! help.

the easiest way use jquery highlight plugin content script:

"content_scripts": [  {    "matches": ["http://*/*"],    "js": ["jquery.js", "jquery.highlight-3.js", "myscript.js"]  } ], 

so include jquery, plugin , code controls every page.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -