LinkedIn Redirect to Google Cache

Redirects all pages under a domain+subdomains (currently LinkedIn) to Google Cache. Not really tested. Will break LinkedIn. Probably don't install.

  1. // ==UserScript==
  2. // @name LinkedIn Redirect to Google Cache
  3. // @description Redirects all pages under a domain+subdomains (currently LinkedIn) to Google Cache. Not really tested. Will break LinkedIn. Probably don't install.
  4. // @namespace jimbo1qaz
  5. // @include /^https?://(?:[a-zA-Z0-9\-]+\.)*linkedin\.com\//
  6. // @version 1
  7. // @grant none
  8. // @run-at document-start
  9. // ==/UserScript==
  10. // @run-at document-start
  11. // @run-at document-end
  12. // @run-at document-idle
  13.  
  14. document.location = 'https://webcache.googleusercontent.com/search?q=cache:' + document.location;