Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name KotakAU Auto-refresh disable
- // @namespace http://your.homepage/
- // @version 0.1
- // @description Discards the timer used to refresh pages on KotakAU after 5 minutes of inactivity
- // @author os42
- // @match http://www.kotaku.com.au/20*
- // @match https://www.kotaku.com.au/20*
- // @match http://www.gizmodo.com.au/20*
- // @match https://www.gizmodo.com.au/20*
- // @match http://www.lifehacker.com.au/20*
- // @match https://www.lifehacker.com.au/20*
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- (function() {
- var si = window.setInterval;
- window.setInterval = function(f, i) {
- if (i !== 1e3) {
- return si(f,i);
- }
- return false;
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement