Google Cache Highlight Search Query Terms for HTTPS

By Jefferson Scher Last update Oct 30, 2013 — Installed 402 times.

Script Summary: Restore highlighted search terms in Google cache for secure searches. For Firefox+Greasemonkey or Chrome+Tampermonkey. v0.6.4 2013-10-29



Version: 0.6.4

Copyright: Copyright 2013 Jefferson Scher

License: CC BY http://creativecommons.org/licenses/by/3.0/

Read This First: System Requirements

Firefox users: You need Firefox 14 or later. Install the Greasemonkey extension from Mozilla Add-ons BEFORE installing this userscript.

Google Chrome users: Install the Tampermonkey extension from the Chrome store BEFORE installing this userscript.

Other Browsers: Due to the way this script monitors for dynamic changes in Google's Instant Prediction results, it is unlikely to work on other Greasemonkey-like extensions. If you try it, please report your experience in the Discussions tab.

Restore Query Highlighting in Cache Pages: What It Does

This script modifies the "Cached" link on results pages in two ways:

  1. Link includes your query terms so they can be highlighted on the cached page
  2. Link opens the cached page using HTTPS security (this prevents the destination site from receiving your query terms if you click the "current page" link); starting in version 0.6.0, this can be turned off (see below)

The following screen shots show the old Cached link. As of late April 2013, the link is accessed using the green triangle icon following the green URL. Version 0.6.4 adds an option to convert the menu to inline links (see next paragraph for how to access preferences).

You can modify certain behaviors of the script using the preferences form. To call up the form, use the "monkey icon" in Firefox or the Tampermonkey icon in Chrome:

The preferences form appears along the bottom of the window, and changes take effect immediately on your next click of a cache link:

The difference between phrase highlighting and individual word highlighting is illustrated in the following two screen shots:

Problems, Suggestions, Happiness

Please use the Discussions tab for your feedback.