Last active
May 20, 2021 02:03
-
-
Save likecyber/5eb798ee18e6589bcc271da04fb95402 to your computer and use it in GitHub Desktop.
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
const delay = millis => new Promise((resolve, reject) => { | |
setTimeout(_ => resolve(), millis) | |
}); | |
const userAccount = await wax.login(); | |
unityInstance.SendMessage('Controller', 'Server_Response_LoginData', userAccount); | |
const account = userAccount; | |
await delay(10000); | |
while (true) { | |
await server_getBalance(account); | |
await server_getMineDelay(account); | |
minedelay = 1; | |
do { | |
minedelay = await getMineDelay(account); | |
await delay(minedelay); | |
} while (minedelay !== 0); | |
await server_claim(JSON.stringify(await background_mine(account))); | |
await delay(10000); | |
} |
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 WAX Auto Accept Signing | |
// @namespace wax.io | |
// @version 1.0.0 | |
// @description Auto Accept Signing for WAX.io | |
// @author Likecyber | |
// @match https://all-access.wax.io/cloud-wallet/signing/ | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
var WaitForReady = setInterval(function () { | |
var tags_i = document.getElementsByTagName("button"); | |
for (var i = 0; i < tags_i.length; i++) { | |
if (tags_i[i].textContent == "Approve") { | |
var tags_j = document.getElementsByTagName("input"); | |
for (var j = 0; j < tags_j.length; j++) { | |
if (tags_j[j].value == "remember") { | |
tags_j[j].click(); | |
break; | |
} | |
} | |
tags_i[i].click(); | |
clearInterval(WaitForReady); | |
break; | |
} | |
} | |
}, 100); | |
})(); |
how do you run this script?
cpu codeif(window.location.href == 'https://awhelper.com/'){
try{
if(parseInt(document.getElementsByClassName('progress-bar bg-info')[0].textContent) >= 90){
alert('90% CPU Running')
await sleep(1200000);
}
if(parseInt(document.getElementsByClassName('progress-bar bg-info')[2].textContent) >= 90){
alert('90% RAM Runnig')
await sleep(1000);
}
var mine = document.getElementsByClassName('btn btn-block btn-primary mb-2');
if(mine[0].textContent == 'Mine'){
mine[0].click();
await sleep(1000);
}
sw = 0;
}
catch(err){
ช้วยเอาเข้่าไปที
if(window.location.href == 'https://awhelper.com/'){
try{
if(parseInt(document.getElementsByClassName('progress-bar bg-info')[0].textContent) >= 90){
alert('90% CPU Running')
await sleep(1200000);
}
if(parseInt(document.getElementsByClassName('progress-bar bg-info')[2].textContent) >= 90){
alert('90% RAM Runnig')
await sleep(1000);
}
var mine = document.getElementsByClassName('btn btn-block btn-primary mb-2');
if(mine[0].textContent == 'Mine'){
mine[0].click();
await sleep(1000);
}
sw = 0;
}
catch(err){
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey friend how do you run this script? Use some program?