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
Post a Comment