Created
February 3, 2013 19:43
-
-
Save ndreas/4703345 to your computer and use it in GitHub Desktop.
Userscript for redirecting from Remember The Milk's login page to home if you're already logged in
This file contains hidden or 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 Remember The Milk login page redirector | |
// @description Redirects to home if you go to the login page while logged in | |
// @namespace http://stdin.se/userscripts/rtmredir | |
// @author ndreas | |
// @license The ISC License (http://www.isc.org/software/license) | |
// @version 1.0 | |
// @include https://www.rememberthemilk.com/login/* | |
// @history 1.0 first version | |
// ==/UserScript== | |
;(function() { | |
if (document.getElementsByClassName("login-link").length <= 0) { | |
window.location.replace("https://www.rememberthemilk.com/") | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment