UHB Archived Version 2.5 (Opera 8 only) (by Luchio)
I recommend using Ultimate Search Highlighter instead since it is more recent.
IMPORTANT: Do not combine buttons from version UHB 2.5 (below) with USH. Version 2.5 buttons are incompatible with USH.
Features of v2.5
- Automatically highlight keywords if page is selected from Google results;
- Highlights "multiple keywords" in different colors on any page (even framed pages!);
- Shows detailed search results in a floating box, where you can jump from one result to the next;
- Remembers search queries with cookies;
- Customizable with variables.
Opera forum post about v2.5 here
Installation steps
- Enabling UserJS: Go to Preferences -> Advanced -> Content -> JavaScript options and select a directory for your UserJS files.
- Download the script (uhb.js) in your UserJS directory
- Drag the following button to any toolbar (except personal bar): Highlight
IMPORTANT NOTE: If you used an older version of UHB before, YOUR OLD TOOLBAR BUTTON WON'T WORK. Use the new one.
You must place it to the right of an Opera search field if you want to use input from that field. You can also input your text in the address field.
How to use
You can now enter your keywords in the Opera internal search field and then press the Highlight button. If no search field is found, you will be prompted to enter keywords. You can also change the behavior of UHJS by modifying the options located at the beginning of the file.
UHB - Bookmarklet for Opera (7 and less)
Use this old version only if you you have Opera 7-:
Ultimate Highlight Bookmarklet 1.5b (Right-click the button and choose "Bookmark link")
You can then show the bookmark on the personal toolbar.
Release history
Version 2.5
- Bigger buttons.
- Font issue fixed
- Output now says "not found" instead of 0.
- Cookie name,global vars and functions are obfuscated.
- URL recognition is better.
- Highlight() and HighlightKeywords(k) functions renamed to UltimateHighlight() and UltimateHighlightKeywords(k) to make it unlikely they would interfer with webpages.
IMPORTANT NOTE: If you used an older version of UHB before, YOUR OLD TOOLBAR BUTTON WON'T WORK. Use the new one.
Version 2.1
- Searching for "multiple keywords" finally available!
- New CSS appearance! Heavily based on FluxTorpedoe?'s input.
- JS console "security error" zapped (big thanks to BtEO? for his findings).
- The code is now fully commented and indented to make things less confusing.
Version 2.0
(First UserJS version)
- Automatic highlighting of pages selected from Google results. (AutoHighlight=1) Very big thanks to HermeN and StoeN? for their help.
- Searching for numbers works now.
- Easier installation, can now use the Opera internal search field (Thanks again to StoeN?).
- Prevented bug when Opera internal search field is empty. (You will see a prompt.)
- UHB is now based on User Javascript for Opera 8 (disadvantage: UserJS can't work on https pages for security reasons).
Version 1.5b (Last bookmarklet version)
- Searching for numbers works now.
Version 1.5
- Search results shouldn't appear for text inside a combobox (inside a <Select> tag);
- Changed default behavior to AlwaysAsk=0 (won't ask if Google search terms found);
- Works in foxy browsers.
Version 1.13
- Added basic support for international characters.
- Fixed problem with getting updated Google keywords when Google is the current page.
- Fixed wrong search results given when there was multiple whitespaces in the query.
Version 1.12
- Fixed minor bug that prevented it to work in Opera 7.54u2.
Version 1.11
- Fixed CSS bug that made the floating window look like crap on the Wiki;
- Fixed bug related to multiple searches on the same page;
- Added new, close and exit buttons in the search results.
Version 1.1
- Uses cookies to remember search queries on a per site basis (UseCookies=0|1);
- Floating div that shows search results and allows to hop from one search result to the next (ShowFollowUp=0|1) Credits to Aleto;
- Bug fixes with frames;
Version 1.0
- Original Code: Highlights multiple keywords in different colors; (Multiple authors)
- Automatically uses keywords from Google results (if Google is the referrer or the current page). Idea taken from here and improved;
- Executing a second time removes highlights;
- Works in frames;
- Customizable with variables
Ultimate Highlight Bookmarklet v1.0 (Old version, here for compatibility purposes.)
Historic [⊗]
This BookMarklet/UserJS is maintained by LuChio, but it is the result of the work of many skilled JavaScript authors. I found the Original Code, that highlighted keywords for version 1.0 on the Opera forums. It was from Aleto, who improved code from Ago, who continued the idea of Jesse Ruderman, who was inspired by sample code from Paul McGarry he wrote in a bug report! Later I got help from HermeN, StoeN?, BtEO? and FluxTorpedoe? on the Opera forums. And I probably forgot a name or two here. Anyway, you get the idea! :-D
Categories
CategoryOpera
Backlinks:
- UltimateHighlightBookmarklet