Last active
July 6, 2017 12:24
-
-
Save senpl/552683d28e6a97293f5f1e9de486e7cd to your computer and use it in GitHub Desktop.
phpmyadmin refresher for tempermonkey.
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 phpmyadmin refresher | |
// @namespace mu | |
// @include http*/phpmyadmin/* | |
// @include http*/oozoos3o/* | |
// @include http*/index.php?db=* | |
// @version 1.1 | |
// @grant none | |
// @description refresh phpmyadmin tables every defined time | |
// ==/UserScript== | |
var aTags = document.getElementsByTagName("a"); | |
var searchText = "Aktualisieren"; | |
var found; | |
setInterval(function() { | |
for (var i = 0; i < aTags.length; i++) { | |
if (aTags[i].textContent == searchText) { | |
found = aTags[i]; | |
found.click(); | |
break; | |
} | |
} | |
}, 10000); | |
// ==UserScript== | |
// @name phpmyadmin refresher | |
// @namespace mu | |
// @include http*/phpmyadmin/* | |
// @include http*/oozoos3o/* | |
// @include http*/index.php?db=* | |
// @version 1.1 | |
// @grant none | |
// @description Adds forever login to admin apps. | |
// ==/UserScript== | |
var aTags = document.getElementsByTagName("a"); | |
var searchText = "Aktualisieren"; | |
var found; | |
setInterval(function() { | |
for (var i = 0; i < aTags.length; i++) { | |
if (aTags[i].textContent == searchText) { | |
found = aTags[i]; | |
found.click(); | |
break; | |
} | |
} | |
}, 10000); | |
//setInterval(function() { $('a:contains("Aktualisieren")').click(); }, 10000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment