Skip to content

Instantly share code, notes, and snippets.

@loadletter
Created August 3, 2014 20:47
Show Gist options
  • Save loadletter/cdc31e5ed256d80ddf86 to your computer and use it in GitHub Desktop.
Save loadletter/cdc31e5ed256d80ddf86 to your computer and use it in GitHub Desktop.
Userscript to keep alive a 10minutemail mailbox (Fixed, Original by Alexander Artemenko: http://userscripts.org/scripts/show/72196)
// ==UserScript==
// @name 10 minute refresher
// @author Alexander Artemenko http://aartemenko.com
// @namespace svetlyak40wt
// @description Refresher for the 10minutemail.com
// @include http://10minutemail.com/10MinuteMail/*
// @grant none
// ==/UserScript==
function doSomething ( )
{
var refresh_url = document.getElementById('j_id22').href;
window.setTimeout(
function()
{
window.location = refresh_url;
},
1000 * 60
) ;
}
doSomething();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment