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

iphone - Request for member 'uitextfield' in something not a structure or union? -

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

Cursor error with postgresql, pgpool and php -