Over the past year I've gotten a good amount of feedback about this script, which was largely unchanged from the original by erosman. Users indicated that it needs to be able to handle more than one keyword/style pair, and there also was interest in allowing more advanced matching pattern (regular expressions). I personally found it annoying that the page had to be reloaded after a change. In thinking about how to improve the script, I also thought it would be useful to add buttons to seek within the document to the matches. So with all of that in mind, I present version 1.9.7beta 1.9.8beta
The beta should
migrate over your existing keyword list and style rules. However, my testing has been limited, so please make a note of those before installing "just in case" something goes wrong.IF YOU HAVE MADE CHANGES TO THE ACTUAL SCRIPT ITSELF, YOU NEED TO MAKE A BACKUP COPY OF THE SCRIPT; CODE CHANGES CANNOT BE MIGRATED AND WILL BE LOST WHEN UPDATING.
NOTE: THE STYLE RULES NEED TWEAKING TO OVERRIDE SOME SITE STYLES. Please give me your examples of sites where the bar is messed up.
The script is available here: Please see the following script instead: Text Highlight and Seek
I often get multiple install dialogs from my web server and I have no idea why. You can close the extra ones; you don't need to install multiple times.
To get an idea of how it will work, please see the following screen shots:
(1) The script displays a small "H" button in the upper right corner of the page. You can click that button to display the control bar.
(2) You can display a list of the keyword/style sets from the bar. Some samples are included for reference.
(3) Use the Seek button for a set to enable the buttons on the control bar.
(4) and (5) Use the Edit button to open a panel to modify the keywords or associated styles. Note that any color or background-color rules in "Custom" will override the controls above it. Please note: the script does not clean your input!
I will need to think about how to help avoid useless keywords for the next pre-release version.
(6) Use the Add New Set button to create a new set.
(7) Use the Options drop-down on the control bar to turn off the "H" button or to not highlight in <pre> and <code> tags.
The "monkey menu" has a option to flush out all of the new keyword/style sets so you can start testing as though it was a fresh install. If the data somehow gets corrupted, you might need to use that. This beta
I look forward to your comments!