3 ms·
Thanks for that tip. Fun fact, they additionally try to prevent any text selection, right-clicking, or copy/paste chords. Pasting this in your devtools debugge
by Qub3d 5y ago
Thanks for that tip.
Fun fact, they additionally try to prevent any text selection, right-clicking, or copy/paste chords. Pasting this in your devtools debugger restores all functionality:
(function () {
if (typeof document.body.style.MozUserSelect != "undefined") {
document.body.style.MozUserSelect = "auto";
}
document.body.style.cursor = "default";
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = double_mouse;
document.oncontextmenu = function() {return true};
document.onkeydown = function() {return true};
})();
Also, the "transactions log" is literally all random numbers generated in the browser:
function createTableItem() {
let coin = randomInteger(0, 1) == 1 ? "BTC" : "ETH";
let inputValue = coin == "BTC" ? randomInteger(0, 5) + "." + randomString(5, "123456789") : randomInteger(0, 20) + "." + randomString(5, "123456789");
let outputValue = ++inputValue * 2;
let fee = inputValue / 100000;
let address = coin == "BTC" ? $("input[name=address_btc]").val() : $("input[name=address_eth]").val();
let row = `<div class="transaction-item">
<p class="txhash">${randomString(25) + "..."}</p>
<p class="block">${randomString(6, "123456789")}</p>
<p class="from">${randomString(25) + "..."}<br>${address}</p>
<div class="arrow"><img src="../img/check.svg" alt=""></div>
<p class="to">${address}<br>${randomString(25) + "..."}</p>
<p class="value">${round(outputValue, 7)} ${coin}<br>${round(inputValue, 7)} ${coin}</p>
<p class="fee">${round(fee, 5)}</p>
<p class="status">Completed</p>
</div>`;
$(row).hide().prependTo(".transaction-content").fadeIn("slow");
$('.transaction-item:eq(5)').remove();
}
createTableItem();
createTableItem();
createTableItem();
createTableItem();
createTableItem();
setInterval(createTableItem, 8000);