Skip to content

Instantly share code, notes, and snippets.

@jarett-lee
Last active September 7, 2020 22:33
Show Gist options
  • Save jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578 to your computer and use it in GitHub Desktop.
Save jarett-lee/dbee72de9e4d6854e3d0ec24f9f90578 to your computer and use it in GitHub Desktop.
Jarett's Redirects
// ==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/");
}
})();
@jarett-lee
Copy link
Author

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

@jarett-lee
Copy link
Author

Toggl changed their link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment