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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -