uBlockOrigin / uAssets

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

wetter.com: breakage #20744

Closed thaliel closed 10 months ago

thaliel commented 10 months ago

Prerequisites

URL address of the web page

https://www.wetter.com/

Category

breakage

Description

UBO is blocking off the quicklinks to previously searched locations, which is located to the right of the search area. As these quicklinks are visible once UBO is turned off, it is clear that UBO is causing this

Other extensions used

greasemonkey stylus tumblr savior search by image ImTranslator F.B Purity I don't care about cookies Norton Safe Web Snap Links

Screenshot(s)

Screenshot(s)

Configuration

```yaml uBlock Origin: 1.53.0 Firefox: 119 filterset (summary): network: 81551 cosmetic: 112943 scriptlet: 23058 html: 1107 listset (total-discarded, last-updated): removed: easyprivacy: null added: https://filters.adtidy.org/extension/ublock/filters/14.txt: 75259-528, now default: user-filters: 587-31, never ublock-filters: 36527-101, now ublock-badware: 7531-10, now ublock-privacy: 674-0, now ublock-unbreak: 2201-1, now ublock-quick-fixes: 114-13, now easylist: 75483-667, now urlhaus-1: 10890-0, now plowe-0: 3716-1, now DEU-0: 7158-4, now filterset (user): [array of 587 redacted] trustedset: added: [array of 34 redacted] removed: about-scheme edge-scheme switchRuleset: added: [array of 14 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 833 ms (selfie) maxAssetCacheWait: 216 ms popupPanel: blocked: 15 network: wetter.com: 3 3lift.com: 1 71i.de: 1 amazon-adsystem.com: 1 doubleclick.net: 1 mookie1.com: 1 pushwoosh.com: 3 theadex.com: 1 usercentrics.eu: 3 extended: ##+js(abort-current-script, $, lobster) ##+js(no-setTimeout-if, (null), 10) ```
mapx- commented 10 months ago

add

@@||config.eu.usercentrics.eu/gvl/v3/en.json$xhr,domain=wetter.com

@Alex-302 @Yuki2718

Yuki2718 commented 10 months ago

@peace2000 Can you check this as well? On my end 5000ms dealy is necessary for the rule (AG uses vanilla script with MutationObserver to click). Setting uc_tcf local storage also works but it includes encoded timestamp and long vendors list which can't be empty for the issue reported here.

peace2000 commented 10 months ago

@Yuki2718

That vendorlist in the local storage item is just ridiculously long. Also if the list changes someway, it's possible that the rule would break... So setting a local storage item doesn't sound a long term solution...

Concerning the clicker, I tested various delays for that page.

On my main pc: 1500 seems to be safe value for clean profile 2500 is safe for dirty profile

On my older pc: 2500 is safe for clean profile 3000 for dirty profile

That 5000 seems quite high.

It's hard to create a reliable solution for each pc unless the value is set high enough so that it will definetely work for all pc's.

We need an option to keep the scriptlet active until the element appears - without any fixed delays. https://github.com/uBlockOrigin/uBlock-issues/issues/2917

peace2000 commented 10 months ago

But for the time being... How about adding these additional filters as well:

wetter.com###cmp-style-reset wetter.com##body:style(overflow: auto !important)

To hide the dialog so that users of the site don't need to see it. The clicker works for hidden dialogs as well.

Yuki2718 commented 10 months ago

The clicker works for hidden dialogs as well.

Oh, didn't know that!

D4niloMR commented 8 months ago

https://www.reddit.com/r/uBlockOrigin/comments/199px0v/when_ublock_origin_is_enabled_wettercom_refreshes/

To solve this, the parameter extraMatch is needed.

@gorhill

gorhill commented 8 months ago

In next dev build, this should work:

wetter.com##+js(trusted-click-element, #cmp-btn-accept, !cookie:/^gpt_ppid[^=]+=/, 5000)