uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.16k stars 772 forks source link

cheersandgears.com: detection #21005

Closed huyszn closed 11 months ago

huyszn commented 11 months ago

Prerequisites

URL address of the web page

https://www.cheersandgears.com/

Category

detection

Description

The site site shows an "Ad Block Detected" message.

This filter seems to work to remove the detection. cheersandgears.com##+js(acs, jQuery, dismissAdBlock)

Other extensions used

Bypass Paywalls Clean, Auto Highlight, Cookie-Editor, EPUBReader, Grammarly, Language Reactor, Network Sniffer, Old Reddit Redirect, Prolific Assistant, Reddit Enhancement Suite, Return YouTube Dislike, Tampermonkey, Video Speed Controller, Word Counter Plus

Screenshot(s)

Screenshot(s) Screenshot 2023-12-01 at 5 21 33 PM

Configuration

```yaml uBlock Origin: 1.53.0 Chromium: 119 filterset (summary): network: 103754 cosmetic: 45583 scriptlet: 23548 html: 0 listset (total-discarded, last-updated): added: ublock-annoyances: 5946-10, now default: user-filters: 56-2, never easylist: 75598-16, now easyprivacy: 33034-64, now plowe-0: 3779-1136, now ublock-badware: 7538-138, now ublock-filters: 35893-158, now ublock-privacy: 931-11, now ublock-quick-fixes: 265-116, now ublock-unbreak: 2156-33, now urlhaus-1: 9520-0, now filterset (user): [array of 57 redacted] trustedset: added: [array of 22 redacted] switchRuleset: added: [array of 1 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 123 ms (selfie) maxAssetCacheWait: 54 ms popupPanel: blocked: 5 network: cloudflareinsights.com: 1 facebook.net: 1 googlesyndication.com: 2 googletagmanager.com: 1 extended: ##ins.adsbygoogle ```
D4niloMR commented 11 months ago

@mapx- this is a soft anti adblock

mapx- commented 11 months ago

right, moved

ItsProfessional commented 11 months ago

@mapx- would cheersandgears.com##+js(no-fetch-if, googlesyndication) be more elegant of a filter? You current filter would just wipe any inline script in the DOM that has the string fetch in it.

mapx- commented 11 months ago

Elegant ? I prefer the filters to be more generic: in this case if "they" will replace googlesyndication by something else you'll have to modify the filter. There is no other fetch in the page for now.

ItsProfessional commented 11 months ago

I prefer the filters to be more generic: in this case if "they" will replace googlesyndication by something else you'll have to modify the filter

Even if you make it generic, nothing stops them from breaking it. Examples of this are as simple as just setting a global var to window.fetch in another script, and then using that global var in the detection script.

They'll figure out how to break it regardless if it's generic or not. And a very generic filter will only help in causing future breakages.

mapx- commented 11 months ago

In all cases they can circumvent it. When it will happen we can try other fixes.