Google Search Terms Highlight

Automatically highlights search terms & full phrases in pages opened by Google search results.

As of 2016-06-10. See the latest version.

Author
drhouse
Ratings
0 0 0
Version
3.0
Created
2015-08-21
Updated
2016-06-10
License
N/A
Applies to
All sites


note 06/09/16: fixed script - should work again
note 01/25/15: I am not sure if this script still works, as I've switched to Chromium
         09/17/15: works in Chrome, unknown how well it works in Firefox

Info:
Automatically highlights search terms & full phrases in pages opened by Google search results.
- designed so only links originating from Google search (url referred) will contain highlighted search terms
- full phrases means a group of terms surrounded by quotation marks, an exact term search, such as: "the dark knight returns" (see screenshot)
- only whole words matched, example, for search term: 'the' >> result: 'their' or 'theme' will not contain highlighting
- case-insensitive highlighting

About:
This script is a work in progress, written as an alternative to the convenient, official 'Google Quick Search' addon from the Chrome Store which no longer works and no updates are being made. Other replacements either didn't work or weren't satisfactory.

To do:
- Highlighting should work on most pages, but may not due to overriding by site's page css styles. Integrating a highlighting plugin may be considered if need be
- Search phrases will not be highlighted on pages if there's punctuation between words or letters, example
google search phrase: 'once twice three times a lady'
text won't be highlighted if appearing on page as: 'once, twice, three times a lady'