-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuynft.js
38 lines (30 loc) · 1.08 KB
/
buynft.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
setInterval(
function getElementByXpath(path) {
var button = document.evaluate("//button[contains(., 'onfirm')]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (button) {
button.click();
console.warn("CLICKED!");
} else {
console.log("Not yet...");
}
}, 1);
setInterval(
function getElementByXpath(path) {
var button = document.evaluate("//button[contains(., 'buy')]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (button) {
button.click();
console.warn("CLICKED!");
} else {
console.log("Not yet...");
}
}, 1);
setInterval(
function getElementByXpath(path) {
var button = document.evaluate("//button[contains(., 'uy')]", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (button) {
button.click();
console.warn("CLICKED!");
} else {
console.log("Not yet...");
}
}, 1);