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

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

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