Google Chrome Help -


i want make extension highlights word (for example food) on every page person visits. curious how this, google chrome extension.

you should able using content scripts. in content script js file, line should trick (assuming include jquery in js content script includes):

$('body').html($('body').html().replace(word_of_choice, '<span class="highlighted">' + word_of_choice + '</span>')); 

and define highlighted class in css file in content script includes.


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 -