forked from licensedprism1/driveyouradblockcounterup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpropreq.js
27 lines (24 loc) · 1.13 KB
/
propreq.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
var counter = 0;
var counterDisplay = document.getElementById("counter");
var file = "https://raw.githubusercontent.com/licensedprism1/driveyouradblockcounterup/master/Adblock%20lists/easylist.txt";
function chkad(){
$.get(file,function(txt){
var lines = txt.responseText.split("\n");
for (var i = 0, len = lines.length; i < len; i++) {
var str = lines[i];
var strf = "";
if(str.startsWith("&")){
strf = "https://www.ablocktesterlBd.com/?test" + str;
} else if(str.startsWith("+") || str.startsWith("-")){
strf = "https://www.adblocktester1Bd.com/test" + str;
} else if(str.startsWith(".")){
strf = "https://www.adblocktester1Bd" + str;
} else if(str.startsWith("/")){
strf = "https://www.adblocktester1Bd" + str;
} else{
}
fetch("https://www.agsdfklasfhadslfsdaivnerwioufakdsjfbharhwedfjawefilewurlncjkadfhaew.com/?ok&ad_slot=6&ad_time=5&ad_type=2&ad_channel=1");
counterDisplay.innerHTML = counter++;
}
});
}