DandelionSprout / adfilt

The place where I, DandelionSprout, store my web filter lists for countless topics, including my Nordic adblock list. As simple as that, really.
Other
1.29k stars 141 forks source link

AdGuard Home list... blocks all(*) css? #974

Closed MicrosoftEggshell closed 4 months ago

MicrosoftEggshell commented 5 months ago

Describe the problem below this line as meticulously and detailed as possible (incl. pagelinks if any)

There's a problematic rule in the AdGuard Home Compilation List: ://www.*.css|

(*)As it turns out, most of the modern web either doesn't use www., uses some parameters when requesting their stylesheets, or both. At any rate, some big sites like The World Bank still get loaded without css thanks to this - I'm not sure how or why the rule got added in the first place.

Add screenshots below if needed

image

Add a screenshot of the extension's logger

image

Which adblocker(s) did you use when testing this?

uBlock Origin

Adblocker version(s)

uBlock Origin 1.54.0

Which filterlists did you use? Failing to tell this will temporarily close the report until it has been told.

AdGuard Home Compilation List

Which browser(s) did you use when testing this?

Firefox (incl. LibreFox)

Browser version(s)

librewolf 120.0.1.1

Which OS(s) did you use when testing this?

Windows 10

OS version(s)

Windows 10 Pro N 21H2 (19044.3086)

DandelionSprout commented 4 months ago

I admit and take blame for that I didn't make it more clear previously, but the list in question is not designed or intended to be used with uBlock Origin under any circumstances.

I'll make a generation script rule to remove e.g. ^.*\.(css|js|json|mp3|mp4|gif|png|webp|svg)\|$ for that list (though it'll take days or weeks to implement), but the general point remains.

The entry was apparently converted from ://www.*.css|$script,3p in uBlock Filters. I admit to not be 100% sure what that entry was doing either, but I suppose it makes sense when sites try to disguise scripts as CSS or something.

MicrosoftEggshell commented 4 months ago

Fair enough, the list is clearly made for AdGuard after all, I guess that just completely slipped by me when I made the report.

Although the original ://www.*.css|$script,3p rule does have the same workarounds I mentioned in my post which makes it an even stranger rule, but I digress.