uBlockOrigin / uAssets

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

blick.ch: detection #24977

Closed Flauschibuesi closed 2 months ago

Flauschibuesi commented 2 months ago

Prerequisites

URL address of the web page

https://www.blick.ch/

Category

detection

Description

Site detects uBlock since today and blocks usage with an overlay that tells you to disable your adblockers

Other extensions used

none

Screenshot(s)

Screenshot(s) ![Screenshot 2024-08-20 212059](https://github.com/user-attachments/assets/0968ef4c-b4bd-491b-a54f-a74a37e4c625)

Configuration

```yaml uBlock Origin: 1.59.0 Chromium: 127 filterset (summary): network: 155596 cosmetic: 53180 scriptlet: 22153 html: 0 listset (total-discarded, last-updated): default: user-filters: 0-0, never DEU-0: 7541-1, 39m easylist: 85374-578, 1m Δ easyprivacy: 53047-655, 1m Δ plowe-0: 3547-0, now ublock-badware: 10514-6, 1m Δ ublock-filters: 39780-300, 1m Δ ublock-privacy: 1068-2, 1m Δ ublock-quick-fixes: 165-0, 1m Δ ublock-unbreak: 2497-2, 1m Δ urlhaus-1: 29100-0, 39m filterset (user): [empty] trustedset: added: [array of 7 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 503 ms (selfie) maxAssetCacheWait: 287 ms cacheBackend: indexedDB popupPanel: blocked: 8 network: cxense.com: 2 googletagmanager.com: 1 onesignal.com: 1 ringier-advertising.ch: 1 sentry.io: 3 extended: ##a[href^="https://jackpot.onelink.me/"] ##.jw-wrapper > div[style="opacity: 0; visibility: hidden; overf… ##+js(abort-on-property-read, _sp_._networkListenerData) ##+js(set-constant, Object.prototype.isAdDisabled, true) ```
Flauschibuesi commented 2 months ago

Sorry to reopen this - same Problem is back again :/

JobcenterTycoon commented 2 months ago

Will check on the next day when no other check before me. Tested on mobile no anti adblock so far.

D4niloMR commented 2 months ago

The anti-adblock is coming from https://cdn.tinypass.com/api/tinypass.min.js. Also there is no setNptTechAdblockerCookie on view-source:https://www.blick.ch/

The rmnt filter needs .stay, 1 on my end but it doesn't work even after adding.

Easiest fix is add

||cdn.tinypass.com/api/tinypass.min.js$script,domain=blick.ch
stephenhawk8054 commented 2 months ago

Blocking that will affect the paywall registration at https://www.blick.ch/blickplus/abos/

stephenhawk8054 commented 2 months ago

It's because they are checking ##+js(set, Object.prototype.isAdDisabled, true) with

if ({}.isAdDisabled) {
  setNptTechAdblockerCookie(true);
  return;
}
JobcenterTycoon commented 2 months ago

So just

blick.ch#@#+js(set, Object.prototype.isAdDisabled, true)
blick.ch##[class*="_ad_"]
blick.ch##aside:has(> div[id^="ad-placement"])

? I don’t get video ads with this.

stephenhawk8054 commented 2 months ago

Yeah, if the old issues are not there, we can switch to cosmetic filters.

There are some other backup filters here https://github.com/uBlockOrigin/uBlock-discussions/discussions/897#discussioncomment-10621706 but we don't need to use currently.