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