Skip to content

Instantly share code, notes, and snippets.

@jimsug
Created February 9, 2017 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimsug/73b6ed642b37a97257309e9d64187603 to your computer and use it in GitHub Desktop.
Save jimsug/73b6ed642b37a97257309e9d64187603 to your computer and use it in GitHub Desktop.
Intel Fixer
// ==UserScript==
// @name Fix Intel
// @namespace intel-fix@com.jimsug
// @description redirect ingress.com to www.ingress.com
// @include https://ingress.com/intel*
// @include http://ingress.com/intel*
// @match https://ingress.com/intel*
// @match http://ingress.com/intel*
// @include https://ingress.com/mission/*
// @include http://ingress.com/mission/*
// @match https://ingress.com/mission/*
// @match http://ingress.com/mission/*
// @author jimsug
// ==/UserScript==
if(document.location.hostname == "ingress.com"){
window.location.replace(document.location.href.replace("ingress.com","www.ingress.com"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment