I need a simple Chrome extension which has a button beside the URL input box. A click on the button will highlight some words in the body text in the current tab.
I already have a callback function, which highlighting is triggered.
The right body text should be the text showed by the browser. Any embedded frame or popup text should be excluded. The control text should be strictly excluded. The return newText should be used to replace the body text showed by the browser. newText contains format information in term of HTML markers, such as font and color. These formats should be translated to corresponding effects other than showed literally on screen.
doHighlight is depend on another library called [url removed, login to view], which should be included correctly.
A qualified programmer should provide a tar ball of well documented source code.