Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This will reload your profile page. This is the page you get when you signin to ASC from
- a blank page.
- You need to change rccharles on the @include line to you ASC id.
- */
- // ==UserScript==
- // @name Auto Reload ASC Profile Page
- // @namespace http://blog.monstuff.com/archives/cat_greasemonkey.html
- // @description Reload ASC Welcome Page every 15 minutes. Logout will occure after 30
- // minues of inactivity.
- // @include https://discussions.apple.com/people/rccharles?view=discussions
- // @version 1.0
- // @grant none
- // ==/UserScript==
- // based on code by Julien Couvreur
- // and included in book with his gracious permission
- //
- // from Greasemonkey hacks: tips & Tools for Remixing the web with Firefox
- var aDate = new Date();
- console.log ("--> Auto reload ASC profile page on " + aDate);
- var numMinutes = 15;
- window.setTimeout("document.location.reload();", numMinutes*60*1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement