adf.ly and related domains
Issue in AAK: https://github.com/reek/anti-adblock-killer/issues/2891 https://github.com/reek/anti-adblock-killer/issues/2911
Test links: http://adf.ly/1XHJoS (works) http://adf.ly/249cf (works) http://adf.ly/249hE (works)
http://ay.gy/1kXaTE (works)
http://j.gs/3DYv (works) http://j.gs/8evu (works)
http://q.gs/AtRuw (works)
http://rd1.gamecopyworld.click/OrPg (works)
Related domains:
adf.ly, ay.gy, j.gs, q.gs, gamecopyworld.click
https://github.com/X01X012013/AdBlockProtector/issues/107#issuecomment-289022849
for j.gs and q.gs you can see at adguard code ,they are skipping countdown page also this is how adsbypasser works
@ghajini Hi, thanks for the reply, my code does skip countdown, but the countdown stuck at 1s when the block screen shows. Do you have a specific link to the code you are talking about?
this one https://github.com/AdguardTeam/AdguardFilters/search?utf8=%E2%9C%93&q=q.gs
or
you can see here,but its another project https://adsbypasser.github.io/
OK, I'll have a look.
But your previous code is COOL for adf.ly and ay.gy....
@ghajini Did you try AdGuard? Are you sure their code actually works? After some simple test, the if statement is going to fall into the last else which will show an alert saying something went wrong.
AdsBypasser does work, I'll have a look...
Notes for devs: AdsBypasser implementation (license):
(function () {
'use strict';
function getTokenFromRocketScript () {
var a = $.searchScripts(/var eu = '(?!false)(.*)'/);
return a ? a[1] : null;
}
$.register({
rule: {
host: /^adf\.ly$/,
path: /^\/redirecting\/(.+)$/,
},
start: function (m) {
var url = atob(m.path[1]);
$.openLink(url);
},
});
$.register({
rule: {
path: /\/locked$/,
query: /url=([^&]+)/,
},
start: function (m) {
$.resetCookies();
var url = decodeURIComponent(m.query[1]);
if (url.match(/^http/)) {
$.openLink(url);
} else {
$.openLink('/' + url);
}
},
});
$.register({
rule: [
'http://u.shareme.in/*',
'http://server.sbenny.com/*',
function () { //This is going to return true
var h = $.$('html[id="main_html"]');
var b = $.$('body[id="home"]');
if (h && b) {
return true;
} else {
return null;
}
},
],
start: function () {
$.window.document.write = _.nop;
$.window.btoa = _.nop;
},
ready: function () {
var h = $.$('#main_html'), b = $.$('#home');
if (!h || !b || h.nodeName !== 'HTML' || b.nodeName !== 'BODY') {
return;
}
$.removeNodes('iframe');
$.window.cookieCheck = _.nop;
h = getTokenFromRocketScript();
if (!h) {
h = $('#adfly_bar');
$.window.close_bar();
return;
}
var a = h.indexOf('!HiTommy');
if (a >= 0) {
h = h.substring(0, a);
}
a = '';
b = '';
for (var i = 0; i < h.length; ++i) {
if (i % 2 === 0) {
a = a + h.charAt(i);
} else {
b = h.charAt(i) + b;
}
}
h = atob(a + b);
h = h.substr(2);
if (location.hash) {
h += location.hash;
}
$.openLink(h);
},
});
})();
@ghajini Thank you very much! It is now fixed!
Sorry I went to sleep I tried already adguard ,it works 70% of time.... Adsbypasser surely works..... Thanks
@jspenguin2017 https://github.com/jspenguin2017/uBlockProtector/blob/master/Notes/Adfly%20Domains.MD
If I "mouse scroll click" twice on each domain, the second opened page will give me "Please wait 8 seconds...". Is this normal?
The exeption is http://q.gs/AtRuw which, on the second attemp, will show you a "blue screen" with this URL in the address bar http://q.gs/ad/locked?url=AtRuw&t=s&subid=1924160
Could you please fix it?
@adreporter They have a server side anti-spam cooldown, there isn't anything you can do about that.
@jspenguin2017 I can't skip these links. I'm redirected to a countdown page and I have to wait 8 or 9 seconds. Can you reproduce it?
http://casualient.com/2VfG

Those links have 2 Adflies chained together, their server have an anti-spam logic and the timer is enforced on server side.
@jspenguin2017 So I'm not the only one.
This extension can skip the countdown page, only if you don't open adfly links too quickly Can you take a look?
https://robwu.nl/crxviewer/?crx=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fadfly-skipper-%25E2%2598%2585working-81%2Fobnfifcganohemahpomajbhocfkdgmjb%3Futm_source%3Dchrome-app-launcher-info-dialog
Does that actually work in skipping the server side locking? Did you test it?
@jspenguin2017 Yes, it works. Only if you don't open multiple AdF.ly links too quickly. I had to disable uBlock Protector Extension to make it work.
Only if you don't open multiple AdF.ly links too quickly.
Then it cannot skip server side locking.
@jspenguin2017 Nope. That's why I asked you if you could reproduce it only on first visit.
Do their implementation allow you to go though 2 layers of Adfly together? Can you screen capture it?
@jspenguin2017 I do not understand what you say, what do you want me to capture exactly?