Google Cache Continue Redux

By Jeffery To Last update Nov 26, 2008 — Installed 707 times.
Script Summary:
Add links to Google cache results to allow continuing using the cache, keeping search terms highlighted
Recently Updated TopicsPosts
Archived Comments9

this script has 1 topic, 9 posts

This script has no reviews.


When viewing a page in Google's cache (e.g. Google cache of userscripts.org), this adds yellow "cache" links next to each page link. Clicking the yellow cache link opens the Google cache version of the associated page link, allowing the user to continue browsing the site through Google's cache.

Based on Google Cache Continue by Jon Ramsey, this script has been updated to better work with Google's cache interface, and fixes a bug in the original script (cache links for URLs with ampersands in the query string did not open properly).


The script as is works only with the English version of Google. To customize in Firefox, e.g. for other languages, open "about:config" and create/edit the following preferences (these will be automatically created the first time a Google cache page is opened):

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.noCacheTitle
    If the page title ends with this text, then Google does not have a cached version of the page
    Default: Google Search

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.textOnlyLinkText
    Link text for Google's text-only version link
    Default: Text-only version

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.fullLinkText
    Link text for Google's full version link
    Default: Full version

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.cacheLinkText
    Link text for cache links
    Default: cache

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.uncachedText
    Explanation text for uncached link, for when Google does not have a cached version of the page
    %s will be replaced by the uncached link
    Default: <b>Uncached:</b> %s

  • greasemonkey.scriptvals.http://www.thingsthemselves.com/greasemonkey//Google Cache Continue Redux.explanationText
    Explanation text for cached page
    %s will be replaced by the sample cache link
    Default: Use %s links to continue using the Google cache.

noCacheTitle, textOnlyLinkText and fullLinkText should match Google's text for this script to work. There are no restrictions on the other preferences.

To customize in other browsers, please edit the script and replace the default strings (see script comments).


Redux changelog:

v0.3 (2008-11-27)
- Fixed duplicate "http://" in uncached link when search URL includes the protocol

0.2 (2008-08-19)
- Externalized strings in about:config prefs

v0.1 (2008-07-31)
- Initial version