uBlockOrigin / uAssets

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

civitai.com: breakage #25260

Closed SleepingCrows closed 1 month ago

SleepingCrows commented 1 month ago

Prerequisites

URL address of the web page

https://civitai.com/models

Category

breakage

Description

Civitai's adblock detection appears to be re-injecting the detection banner in it's model list every second, causing it to be near impossible to use.

It's related to the rules created back in #22203, though there was no mention of this occurring at that time.

Other extensions used

Dark Reader (Disabled) Violentmonkey (no userscripts installed for civitai.com)

Screenshot(s)

Screenshot(s) [Screencast_20240908_180613.webm](https://github.com/user-attachments/assets/e931adaa-4dad-4108-98a7-f691f753b06a)

Configuration

```yaml uBlock Origin: 1.59.0 Firefox: 129 filterset (summary): network: 155835 cosmetic: 48127 scriptlet: 20759 html: 1958 listset (total-discarded, last-updated): default: user-filters: 0-0, never ublock-filters: 40125-138, 1h.36m Δ ublock-badware: 11054-6, 1h.36m Δ ublock-privacy: 1120-4, 1h.36m Δ ublock-unbreak: 2530-1, 1h.36m Δ ublock-quick-fixes: 80-5, 1h.36m Δ easylist: 85896-187, 1h.36m Δ adguard-spyware-url: 1687-125, now easyprivacy: 53045-62, 1h.36m Δ urlhaus-1: 26255-0, now curben-phishing: 516-3, now plowe-0: 3542-993, now LegitimateURLShortener: 2670-165, now filterset (user): [empty] trustedset: added: [array of 8 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 109 ms (selfie) maxAssetCacheWait: 54 ms cacheBackend: indexedDB popupPanel: blocked: 8 network: civitai.com: 1 cloudflareinsights.com: 1 stripe.com: 4 uniconsent.com: 2 extended: ##+js(prevent-fetch, googlesyndication) ```
D4niloMR commented 1 month ago

Caused by https://github.com/uBlockOrigin/uAssets/commit/38908fa3b521d254c4976089ff37b899d3020040

D4niloMR commented 1 month ago

Can you test if this works fine on your end?

civitai.com#@#div.shadow:has(a[href="/pricing"] img[alt="Please support civitai and creators by disabling adblock"])
civitai.com##div:is(.shadow, .flex.w-full.justify-center.p-3[style=""]):has(a[href="/pricing"] img[alt="Please support civitai and creators by disabling adblock"]):remove()

Click on uBO icon > ⚙ Dashboard button > Add the filter(s) in "My filters" pane > ✓ Apply changes > Open new tab and test again.

SleepingCrows commented 1 month ago

Can you test if this works fine on your end?

civitai.com#@#div.shadow:has(a[href="/pricing"] img[alt="Please support civitai and creators by disabling adblock"])
civitai.com##div:is(.shadow, .flex.w-full.justify-center.p-3[style=""]):has(a[href="/pricing"] img[alt="Please support civitai and creators by disabling adblock"]):remove()

Click on uBO icon > ⚙ Dashboard button > Add the filter(s) in "My filters" pane > ✓ Apply changes > Open new tab and test again.

Works great, thanks!