Skip to content

Instantly share code, notes, and snippets.

@SenpaiSilver
Last active April 25, 2017 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SenpaiSilver/694343792278a409200cdac082d3e39f to your computer and use it in GitHub Desktop.
Save SenpaiSilver/694343792278a409200cdac082d3e39f to your computer and use it in GitHub Desktop.
// ==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