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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -