Created
February 9, 2017 12:59
-
-
Save jimsug/73b6ed642b37a97257309e9d64187603 to your computer and use it in GitHub Desktop.
Intel Fixer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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