NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Bitcoinker(Button) // @icon https://bitcoinker.com/wp-content/uploads/2016/06/faviconbitcoinker.png // @namespace Munem2x // @include https://bitcoinker.com/ // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js // @version 1 // @grant none // ==/UserScript== $(document).ready(function(){ $('<button id="ClaimWithRisk" class="btn btn-default" type="button" onclick="ButtonClick()">CLAIM SATOSHI</button>').insertAfter('.button'); window.ButtonClick = function (){ var display = "" var i; for (i = 0; i < 12; i++) { display = $('#post-2 > div.the99btc-bf.form > form > div.button > input[type="button"]:nth-child('+i+')').css('display'); if (display === "inline-block") { display = $('#post-2 > div.the99btc-bf.form > form > div.button > input[type="button"]:nth-child('+i+')'); break; } console.log(''+display); } display.mousedown(); display.click(); display.mouseup(); }; });