NanoAdblocker / NanoFilters

Script snippets and filters
GNU General Public License v3.0
126 stars 28 forks source link

[Anti-adblock] laptopmag.com #514

Closed dividedby closed 4 years ago

dividedby commented 4 years ago

URLs where this issue occurs (Required)

https://www.laptopmag.com

Screenshots (Required)

image

Screenshot of console (Required, press F12 to open the console)

image

Describe the issue (Optional if obvious)

laptopmag.com redirects to laptopmag.com/cc.html if ad block is detected

Reproduction Steps (Optional if trivial)

Navigate to laptopmag.com

Anything else you believe to be useful (Optional)

Adding this rule makes it so the anti adblock isn't tripped www.laptopmag.com vanilla.futurecdn.net * noop

Environment (Required)

Your filter lists (Required)

image

Your custom filters (Required if you have any)

None related

Your other extensions (Required if you have any)

None related

jspenguin2017 commented 4 years ago

Can't reproduce. image

dividedby commented 4 years ago

Third party script blocking needs to be enabled to reproduce. Adblock is detected when you block scripts from vanilla.futurecdn.net. For example this crude filter: ||vanilla.futurecdn.net$script,domain=www.laptopmag.com,redirect=noop.js bypasses the anti adblock but doesn't allow some of the images to load.

image

Personally I'm good using the rule I shared above but was trying to find a way to create a rule to bypass the anti adblock for anyone else. www.laptopmag.com vanilla.futurecdn.net * noop

dividedby commented 4 years ago

I see that this rule was added to the uBlock annoyances but it doesn't seem to work for me after enabling the filter list or adding the rule manually. laptopmag.com##+js(aopr, _sp_.mms.startMsg)

liamengland1 commented 4 years ago

Yep, because that filter is for soft anti-adblock- hence its presence in annoyances list.

image (screenshot from sister site)

The sites work fine on default filters. Since you are not on defaults, you are expected to resolve any issues. If you want to continue blocking a futurecdn script without triggering this anti-adb add this:

||futurecdn.net^*gb.js|$script,domain=bikeperfect.com|creativebloq.com|cyclingnews.com|digitalcameraworld.com|guitarplayer.com|guitarworld.com|laptopmag.com|livescience.com|musicradar.com|pcgamer.com|realhomes.com|space.com|techradar.com|tomshardware.com|toptenreviews.com|whathifi.com,redirect=noopjs

jspenguin2017 commented 4 years ago

I can't reproduce any anti-adblock (soft nor hard) on Nano default. laptopmag.com##+js(aopr, _sp_.mms.startMsg) is already in the Nano base filter.

If you decide to use a non-default setup (such as third party script blocking), you are expected to fix issues you face yourself.