Created
December 13, 2014 00:14
-
-
Save ni-ka/5bc89f8fba85e7b3c7d9 to your computer and use it in GitHub Desktop.
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 My Fancy New Userscript | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match http://tableau1.eocng.org/views/CallCenterLive/* | |
// @grant none | |
// ==/UserScript== | |
var refresh = function() { | |
var clickEvent = document.createEvent ("HTMLEvents"); | |
clickEvent.initEvent ("click", true, true); | |
$("span.tab-icon-refresh")[0].dispatchEvent (clickEvent); | |
setTimeout(refresh, 15000); | |
}; | |
setTimeout(refresh, 15000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment