@booster helping tool that will tell you how much % up-vote you will get at the given time

in #steemit7 years ago (edited)

hello friends I've written javascript code which you can inject in console nice and easy. you will give information of how much you're going to donate. then code will look for donations in boosters wallet to see how many donations were made during last 3 hour since booster up votes in 2.4 hours interval.
in order this code to work you have to be watching booster's wallet. like this

open inspect element and then go to console

inject code

it will do nothing because until now what we have done is define function of evaluate. this now works like this
evaluate(amount of money you will be transferring) like evaluate(4)

)

hit enter and whoala!


function evaluate(amount){
sumup = 0
cnt = 0
cnt2 = 0
while (1==1){
if (document.querySelectorAll('td:not(.show-for-medium):not(.TransferHistoryRow__text) span')[cnt2].innerText.includes("3 hours ago")){
console.log(cnt)
break

}
if(document.getElementsByClassName("TransferHistoryRow__text")[cnt2].innerText.includes("Receive")){

cnt++
}
cnt2++
}
for (i=0;i<cnt;i++){
console.log(parseFloat(document.getElementsByClassName("TransferHistoryRow__text")[i].innerText.replace(/[^0-9.]/g, '')))

sumup = sumup + parseFloat(document.getElementsByClassName("TransferHistoryRow__text")[i].innerText.replace(/[^0-9.]/g, ''))
}
console.log("booster got "+sumup+"$ during last three hour from: "+cnt+" people")
console.log("you will get "+(((amount)/(amount + sumup))*100)+" % if no one transfered money after you")
}

if you did not manage to make this work feel free to comment, otherwise upvote, follow and resteem <3
New-Microsoft-PowerPoint-Presentation-_6_ -.gif

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63061.76
ETH 2602.70
USDT 1.00
SBD 2.75