uBlockOrigin / uAssets

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

google.com: breakage #24003

Closed reyland44 closed 5 months ago

reyland44 commented 5 months ago

Prerequisites

URL address of the web page

https://www.google.com/search?client=firefox-b-d&q=forza+horizon5++patch+notes

Category

breakage

Description

For a few weeks now specifically on Firefox desktop Google Search has been acting weird.

The preferences (language, region, dark mode) keep resetting every time I go an hour without googling something.

Basically after not using Google Search for some time and I go to search something, the preferences are reset and the page is in light mode. I then change it back to English language and dark mode and it's fine for a bit and then resets again when I go some time without googling.

I've turned off the firefox tracking protection and tested without uBO and it works fine. Soon as I turn on uBO it resets.

Other extensions used

SponsorBlock Return YouTube Dislikes

Screenshot(s)

Screenshot(s)

Configuration

```yaml uBlock Origin: 1.58.0 Firefox: 126 filterset (summary): network: 192564 cosmetic: 91492 scriptlet: 24702 html: 1833 listset (total-discarded, last-updated): removed: user-filters: null added: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter.txt: 56259-0, 19m fanboy-cookiemonster: 51121-183, 46m ublock-cookies-easylist: 1179-3, 46m default: ublock-filters: 38437-112, 45m ublock-badware: 9218-2, 45m ublock-privacy: 921-2, 45m ublock-unbreak: 2393-2, 45m ublock-quick-fixes: 78-2, 45m easylist: 86618-176, 45m easyprivacy: 51022-67, 46m urlhaus-1: 16195-4714, 46m plowe-0: 3627-1061, 46m filterset (user): [array of 46 redacted] trustedset: added: [array of 19 redacted] switchRuleset: added: [array of 1 redacted] userSettings: [none] hiddenSettings: [none] supportStats: allReadyAfter: 130 ms (selfie) maxAssetCacheWait: 58 ms cacheBackend: indexedDB popupPanel: blocked: 19 network: google.com: 19 extended: ###main a[href][data-sb^="/url?"]:remove-attr(data-sb) ##+js(set-constant, rwt, noopFunc) ##+js(trusted-set-cookie, SOCS, CAISNQgQEitib3FfaWRlbnRpdHlmcm9u… ```
krystian3w commented 5 months ago

ublock-cookies-easylist: ... (enabled)

Maybe this will be no longer stable https://github.com/uBlockOrigin/uAssets/issues/23701


Dark mode in future maybe recover these:

https://github.com/uBlockOrigin/uBlock-issues/discussions/3262 (On my side, the dark theme activates from the second visit - that is, the developers did it almost wrong; "you" definitely have to be careful with the page reload mode so as not to create a loop)).

peace2000 commented 5 months ago

@reyland44

Have you emptied your browser cache during the past two weeks?

reyland44 commented 5 months ago

Nope, I'll do it now and report back

reyland44 commented 5 months ago

@peace2000

Unfortunately that didn't fix it. Just had it happen again.

I should also note it only seems to happen on Firefox desktop and Brave mobile. On Chrome and Brave desktop it doesn't happen.

peace2000 commented 5 months ago

@reyland44 I suspect it's because the cookie will only be set for a session...

Please try these filters:

www.google.*#@#+js(trusted-set-cookie, SOCS, CAISNQgQEitib3FfaWRlbnRpdHlmcm9udGVuZHVpc2VydmVyXzIwMjQwNTE0LjA2X3AwGgJmaSADGgYIgOu0sgY)

www.google.*##+js(trusted-set-cookie, SOCS, CAISNQgQEitib3FfaWRlbnRpdHlmcm9udGVuZHVpc2VydmVyXzIwMjQwNTE0LjA2X3AwGgJmaSADGgYIgOu0sgY, 1year)

The first one will disable the current filter and the second filter will set the cookie expire time 1 year ahead.

You need to click Allow custom filters requiring trust for those to work.

reyland44 commented 5 months ago

@peace2000 Unfortunately that didn't work either, it's still happening

Might not be directly related to uBO, but I found a thread with a bunch of people having this issue here

mapx- commented 5 months ago

@reyland44 reset uBO to defaults, clear cookies + storage, test again

Gigaturmix commented 3 months ago

I also experienced this issue on my Android Google Chrome browser, where you can't install any extensions. This might be an issue with something else then?

It might also be important to mention that it does not break dark mode on every single search. I couldn't really figure out a pattern, although it seems like it's happening when searching for stuff on google that I didn't already search for a couple of days prior.

krystian3w commented 3 months ago

It would come out that it's a dark theme activation error from the second visit, and in truth there should be a list where @anewuser force it (only this gentleman removed content of both reports as this improvements to content blockers including sample truseted-set-cookie filters).