Last active
April 12, 2017 14:13
-
-
Save reynish/78635cdcbec3eecea5183561506bc49f to your computer and use it in GitHub Desktop.
UserScript to reload JIRA
This file contains hidden or 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 Jira list refresh | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author You | |
// @match https://issues-solace.uk.cambridgeconsultants.com/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function updatePage() { | |
console.log('Updating page...') | |
var refreshBtn = document.querySelector('.refresh-table'); | |
if (refreshBtn !== null && refreshBtn.click) refreshBtn.click(); | |
} | |
setInterval(updatePage, 1 * 60 * 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment