Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

adf.ly #157

Closed
xxcriticxx opened this issue Apr 20, 2017 · 32 comments
Closed

adf.ly #157

xxcriticxx opened this issue Apr 20, 2017 · 32 comments
Labels
Archived This thread was archived, open new issues for similar problems. Fixed

Comments

@xxcriticxx
Copy link

can someone test this link http://adf.ly/1mHisY am getting adblock on it.

capture

@jspenguin2017
Copy link
Owner

😭 They updated their code...

@jspenguin2017
Copy link
Owner

There is an issue in AdsBypasser: adsbypasser/adsbypasser#1434

@xxcriticxx
Copy link
Author

ok so they have to fix before we fix?

@jspenguin2017
Copy link
Owner

Most likely... Unless we can come up with a fix before them...

@xxcriticxx
Copy link
Author

good luck

@okiehsch
Copy link

||s1-adfly.com/show.php?url=$subdocument,redirect=noopframe,domain=adf.ly
||redirect2719.ws^$subdocument,redirect=noopframe,domain=adf.ly

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Apr 20, 2017

@okiehsch Thanks for the rules, but we would prefer a bypass instead of a workaround. And we would like to be able to apply it to all websites in a controlled manner (since Adfly has so many domains).
If we could not find a better solution, I will add those rules and use a.timewarp to skip countdown... We might need to fight some popups too...

@okiehsch
Copy link

okiehsch commented Apr 20, 2017

No problem, FYI to disable the popups
adf.ly##script:inject(abort-on-property-write.js, Fingerprint2)
works on my end.

@xxcriticxx
Copy link
Author

i tested but i get shit load of popups

@okiehsch
Copy link

Interesting, I tried your link http://adf.ly/1mHisY and on my end, Chrome 58, uBO default settings I get
no popups if I add adf.ly##script:inject(abort-on-property-write.js, Fingerprint2)
If I do not add this filter, I get a popup, trying to redirect me through https://leversions.info,
if I click anywhere.

@xxcriticxx
Copy link
Author

i tried in incognito mode let me clear history and cookies and test again

@xxcriticxx
Copy link
Author

after i cleared history and cookies i get adblock msg again

@okiehsch
Copy link

okiehsch commented Apr 20, 2017

If you

  1. Open a new incognito window
  2. add the filters
||s1-adfly.com/show.php?url=$subdocument,redirect=noopframe,domain=adf.ly
||redirect2719.ws^$subdocument,redirect=noopframe,domain=adf.ly
adf.ly##script:inject(abort-on-property-write.js, Fingerprint2)
  1. Go to http://adf.ly/1mHisY

You still get the adblock message, the popups, or both?

@jspenguin2017
Copy link
Owner

Adfly is pretty polymorphic... So it is possible that the detection code is testing another domain after a few refreshes.

@lain566
Copy link

lain566 commented Apr 20, 2017

don't work in bluenik.com
http://bluenik.com/7VT

@jspenguin2017
Copy link
Owner

The rule only cover adf.ly domain. And it's a workaround.

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Apr 20, 2017

If we can find an algorithm that transforms these:

var smk = 'Z3TMNTkOMkTZJmmYYy2gNTlMNkGBQjwNNm2NJjkYN1TE';
var ref_i = 'eyJ1cmwiOm51bGwsImRvbWFpbiI6bnVsbH0='; //base 64 of "{"url":null,"domain":null}"
var ysmm = 'ZhTJNloVdTHZRGwWOniN81vIYGmtlmuWY5mJ9z4LLvml'; //My guess is the URL is encoded here in some way...

To this:
http://binbox.io/2yZkF#SgXfSVRa

Then we can update our script to bypass Adfly directly like before.

@jspenguin2017
Copy link
Owner

It turns out that my quick test was flawed and all they did was changing the variable name...

@xxcriticxx
Copy link
Author

yep doesnt matter if i flush or go private mode i still get adblock

possible code change again? before i was getting popups

@jspenguin2017
Copy link
Owner

Wait wait, I haven't pushed out the patch...

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Apr 21, 2017

OK, I rolled out the patch, I am still not confident enough to set it to be generic by default. The new version will stop the page as soon as we have enough information, which means I won't be able to display the "bypassed" message. because the body won't be ready at that point.

@jspenguin2017
Copy link
Owner

👍 Good job Adfly, now our solution is even faster.

@xxcriticxx
Copy link
Author

whats the new ver number?

@xxcriticxx
Copy link
Author

6.175 right?

@xxcriticxx
Copy link
Author

code is from easylist forum maybe you want to add all domains

j.gs,q.gs,adf.ly,ay.gy#@##bottom
@@||q.gs^$generichide
@@||j.gs^$generichide
@@||adf.ly^$generichide
@@||ay.gy^$generichide
@@|http://*/popunder.gif|$domain=j.gs|q.gs|adf.ly|ay.gy
@@||adf.ly/static/js/$script,domain=j.gs|q.gs|adf.ly|ay.gy
@@||ay.gy/static/js/$script,domain=j.gs|q.gs|adf.ly|ay.gy
@@||ajax.googleapis.com^$script,domain=j.gs|q.gs|adf.ly|ay.gy
@@||static.adf.ly/static/image/ad_top_bg2.png$image
@@||s1-adfly.com/show.php?url=$subdocument,third-party,domain=j.gs|q.gs|adf.ly|ay.gy
@@||redirecting.ws/?$subdocument,third-party,domain=j.gs|q.gs|adf.ly|ay.gy
@@||redirect2719.ws/?$subdocument,third-party,domain=j.gs|q.gs|adf.ly|ay.gy

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Apr 21, 2017

All those domains are already added. I was wondering why on Earth ads are coming in, turns out EasyList was white listing them... Doesn't matter now, our script will kill the page so fast that it won't have a chance to load any ads. The parser will be stopped before <body> even exist.

And yea, 6.175 is the newest at this time of post.

@xxcriticxx
Copy link
Author

you welcome

@uBlock-user
Copy link

Love the new solution, this is what I wanted from the beginning, it came and went in a flash!

@uBlock-user
Copy link

If they change the variable again will it stop our solution from working ?

@jspenguin2017
Copy link
Owner

Yes... I will update it by then.

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Apr 21, 2017

@uBlock-user
There are many ways to stop our solution from working, but I doubt Adfly devs will do it any time soon.

Aggressive Adfly skipper is now on by default. If you have touched this settings, it will not change your settings, if you never touched that settings, then it will switch on. It can be switched off at any time and we will maintain both match and unmatch lists.
I have added some conditions to make sure it won't break other websites. It will not slow down web pages that are not using the wonderfully named variable ysmm, if the web page happens to use it, it will marginally slow it down on the first assignment to the variable.

@jspenguin2017
Copy link
Owner

Looks like everything is working fine. I'll close this issue now.

@github-actions github-actions bot added the Archived This thread was archived, open new issues for similar problems. label Aug 24, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Archived This thread was archived, open new issues for similar problems. Fixed
Projects
None yet
Development

No branches or pull requests

5 participants