Last active
September 7, 2020 22:33
-
-
Save jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578 to your computer and use it in GitHub Desktop.
Jarett's Redirects
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 Jarett's Redirects | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Redirect pages | |
// @author jarett-lee | |
// @match *://*/* | |
// @grant none | |
// @noframes | |
// @updateUrl https://gist.github.com/jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578/raw/redirect.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const href = window.location.href; | |
if (href === "https://login.fidelity.com/ftgw/Fas/Fidelity/NBPart/Login/Init?AuthRedUrl=https://login.fidelity.com/ftgw/Fas/NBExternal/NBPartSSO/InboundSSO/authCont") { | |
window.location.replace("https://login.fidelity.com/ftgw/Fidelity/RtlCust/Login/Init"); | |
} else if (href === "https://toggl.com/") { | |
window.location.replace("https://track.toggl.com/timer"); | |
} else if (href === "https://www.youneedabudget.com/") { | |
window.location.replace("https://app.youneedabudget.com/"); | |
} | |
})(); |
https://gist.github.com/jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578/raw/redirect.user.js changed to version 0.2 16 minutes after I changed to version 0.2
Toggl changed their link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578/raw/redirect.user.js still leads to version 0.1 4 minutes after I changed to version 0.2