Last active
July 2, 2022 19:59
-
-
Save koma5/4eccd9251d5874d454a197958e78135c to your computer and use it in GitHub Desktop.
tampermonkey script to change unit of balance on freebitco.in
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 change unit of balance on freebitco.in | |
// @namespace http://5th.ch/ | |
// @version 0.5 | |
// @description change unit of balance on freebitco.in | |
// @author @koma5 | |
// @match https://freebitco.in/* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/koma5/4eccd9251d5874d454a197958e78135c/raw/change_unit_of_balance_freebitco.in.js | |
// @updateURL https://gist.githubusercontent.com/koma5/4eccd9251d5874d454a197958e78135c/raw/change_unit_of_balance_freebitco.in.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function changeDOM() { | |
var unitMap = {mBTC : { unit : 'mBTC', factor : 1e3 }, | |
satoshi : { unit : 'satoshi', factor : 1e8 }, | |
microBTC : { unit : 'μBTC', factor : 1e6 } | |
}; | |
var unitChoice = unitMap.microBTC; | |
var balanceLi = document.getElementById("balance").parentNode; | |
//remove eventListener otherwise we run into a loop | |
balanceLi.removeEventListener('DOMNodeInserted', changeDOM); | |
var balance = document.getElementById("balance").innerHTML; | |
balance *= unitChoice.factor; | |
//remove balance and textnode | |
while (balanceLi.hasChildNodes()) { | |
balanceLi.removeChild(balanceLi.firstChild); | |
} | |
//recreate balance span | |
var balanceSpan = document.createElement("span"); | |
balanceSpan.setAttribute('id', 'balance'); | |
var balanceSpanText = document.createTextNode(balance); | |
balanceSpan.appendChild(balanceSpanText); | |
//recreate textnode | |
var balanceLiUnitText = document.createTextNode(' ' + unitChoice.unit); | |
//insert balance and textnode into existing and empty blanaceli | |
balanceLi.appendChild(balanceSpan); | |
balanceLi.appendChild(balanceLiUnitText); | |
//readd removed eventListener | |
balanceLi.addEventListener('DOMNodeInserted', changeDOM, false); | |
console.log('changed to ' + balance + ' ' + unitChoice.unit); | |
} | |
changeDOM(); | |
var balanceLi = document.getElementById("balance").parentNode; | |
balanceLi.addEventListener('DOMNodeInserted', changeDOM, false); | |
})(); |
rubensadm
commented
Apr 23, 2020
via email
TAMPERMONKEY RECEIVES SCRIPT
FOLLOW THE LIK: https://www.tampermonkey.net/
Atenciosamente,
Rubens Cruz,
Administrador
Em qui., 23 de abr. de 2020 às 13:14, yacineops <[email protected]>
escreveu:
… ***@***.**** commented on this gist.
------------------------------
hello ..How to change the settings in the script ?
Whether or not it is possible
- Doubling bet I NEED TO WORK LICK THAT
0.00000001
0.00000001
0.00000001
0.00000001
0.00000008
0.00000016
0.00000032
0.00000064
.
.
.X2
AND
AND IS THAT SCRIPT TAmpermonkey ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/4eccd9251d5874d454a197958e78135c#gistcomment-3266667>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOMRGIE4L4AAQIZWP3V23SDROBSMRANCNFSM4KSNMZJQ>
.
Good Morning! I don't even use that script anymore. Therefore, I recommend
that you use these boitcoin-generating miners. Note: all two miners receive
free withdrawal. You do not have to pay.
1st MINERATOR
you register. And then use it just click on mine and, leave until finished
and then you click again and so on. Each mine gives 9,000 satoshi.
2nd MINERATOR
The second you just need to put the address of your bitcoin wallet and
leave it on automatic. However, the other day you give an update.
www.btcminergenerator.com/free-gpu-miner/1845248209
https://beypazaricekici.com/bitcoin-values/reference/136228/
Atenciosamente,
Rubens Cruz,
Administrador
Em qui., 18 de jun. de 2020 às 18:38, Foca2020 <[email protected]>
escreveu:
… ***@***.**** commented on this gist.
------------------------------
Hi,please explain me for what is this script,main btc balance?,where i can
get download the script for Tampermonkey or Violetmonkey,thx
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://gist.github.com/4eccd9251d5874d454a197958e78135c#gistcomment-3346775>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOMRGIAMMOFSMI67RLDVZEDRXKCLVANCNFSM4KSNMZJQ>
.
Note: do not create more than one account in relation to the two mining
companies. If not, you will be blocked. Note²: You can even create one more
for each account. However, you will need these browsers: Tor, COMODOR
DRAGON. Because they have VPN in the browser. Therefore, it provides a new
IP
Atenciosamente,
Rubens Cruz,
Administrador
Em sex., 19 de jun. de 2020 às 10:48, Rubens Cruz <[email protected]>
escreveu:
… Good Morning! I don't even use that script anymore. Therefore, I
recommend that you use these boitcoin-generating miners. Note: all two
miners receive free withdrawal. You do not have to pay.
1st MINERATOR
you register. And then use it just click on mine and, leave until
finished and then you click again and so on. Each mine gives 9,000
satoshi.
2nd MINERATOR
The second you just need to put the address of your bitcoin wallet and
leave it on automatic. However, the other day you give an update.
www.btcminergenerator.com/free-gpu-miner/1845248209
https://beypazaricekici.com/bitcoin-values/reference/136228/
Atenciosamente,
Rubens Cruz,
Administrador
Em qui., 18 de jun. de 2020 às 18:38, Foca2020 ***@***.***>
escreveu:
> ***@***.**** commented on this gist.
> ------------------------------
>
> Hi,please explain me for what is this script,main btc balance?,where i
> can get download the script for Tampermonkey or Violetmonkey,thx
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://gist.github.com/4eccd9251d5874d454a197958e78135c#gistcomment-3346775>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOMRGIAMMOFSMI67RLDVZEDRXKCLVANCNFSM4KSNMZJQ>
> .
>
Great script but I can't withdraw, it says "The withdrawal amount is greater than your account balance" what do I do? if it did work I was going to donate!
Hello I need Edit balance script that is withdrawable freebitco.in
Hello I need Edit balance script that is withdrawable freebitco.in
Script Still Works Just Needs to Be Made able to Withdrawal as it reads 0.04BTC BUT ITS A FASLE READ.
Please help as I'm trying my everything to get off the streets as a I'm a disabled veteran with zero family!?? Please 🙏🙏
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment