Last active
April 25, 2017 20:13
-
-
Save SenpaiSilver/694343792278a409200cdac082d3e39f 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 NoMoney | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Ain't nobody got money for that | |
// @author Wingates Silver | |
// @match https://siggy.borkedlabs.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function hidePayment() { | |
if ($(".blockUI").is(":visible")) { | |
var button = $(".blockUI .dialog .btn-primary"); | |
if (button.text() !== "") { | |
//console.log(new Date()); | |
//console.log("Hidding that annoying message"); | |
//console.log("Clicked: " + button.text()); | |
button.click(); | |
} | |
} | |
} | |
var inter = setInterval(hidePayment, 500); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment