-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinjection.js
More file actions
27 lines (21 loc) · 804 Bytes
/
Copy pathinjection.js
File metadata and controls
27 lines (21 loc) · 804 Bytes
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
//tracking live transactions
setInterval(() => {
var trackPage = "http://localhost:5000/txtrack/";
var trackLinks = [...document.querySelectorAll(".ReactVirtualized__Table__rowColumn.table-col-wrap")];
trackLinks.map((track) => {
if(track.children.length > 2){
return track;
}
return null;
})
.filter(p => p !== null)
.map((link) => {
var bscscan = [...link.children][0].href;
tx = bscscan.replace('https://bscscan.com/tx/', '');
tx = tx.replace(trackPage, '');
[...link.children][0].href = trackPage + tx;
}
)
}, 1000);
//expand wallet scroll
document.querySelectorAll("div.d-block div.mt-2 div.h-100")[0].parentElement.style.height = '2000px'