Created
April 27, 2018 02:40
-
-
Save hillwah/2fc04c176b9640794d01f16c69b9ebb3 to your computer and use it in GitHub Desktop.
URBTIX Reload for Tampermonkey
This file contains 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 URBTIX Reload | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://msg.urbtix.hk/ | |
// @match http://busy.urbtix.hk/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
// #to-main-btn | |
/* | |
setInterval(function(){ | |
window.location="http://www.urbtix.hk/"; | |
}, 1000); | |
*/ | |
setInterval(function() { | |
var bt = document.getElementById('to-main-btn'); | |
if (bt) { | |
if (!bt.disabled) { | |
javascript:exitPage(); | |
} | |
} | |
}, 750); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment