[Firefox Android] Google search result URLs preserve tracking, unless Desktop site mode is used #20846
Replies: 9 comments 3 replies
-
Duplicate of #7960 |
Beta Was this translation helpful? Give feedback.
-
Ohh, my bad. I thought URL sanitation wasn't directly related to filter lists so I didn't check the uAssets repo. |
Beta Was this translation helpful? Give feedback.
-
I think we can put it under !#if env_mobile
www.google.com##+js(href-sanitizer, a[href^="/url?q=http"], ?q)
!#endif |
Beta Was this translation helpful? Give feedback.
-
@mapx- I noticed you closed #7960 (comment) as completed. Does that mean it was fixed in the development code or that it's just being continued here? I'm not familiar with Github Discussions so I'm not sure when to use instead of Issues 🤔 |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Maybe needed is add Observer Mutation and copy url form second+ parameter's to |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
no |
Beta Was this translation helpful? Give feedback.
-
Prerequisites
I tried to reproduce the issue when...
Description
uBlock Origin successfully removes tracking from Google search result URLs for a direct link which allows loading certain links with the associated app, but that only works when enabling Desktop site mode.
This also happens when Enhanced tracking protection is completely disabled.
A specific URL where the issue occurs.
https://www.google.com/search?q=ublock+origin
Steps to Reproduce
Google search anything on Firefox for Android with uBlock Origin. Example:
ublock origin
https://www.google.com/search?q=ublock+origin
In mobile mode, tap and hold a link to show it still has tracking like this:
https://www.google.com/url?sa=AAAAA&source=web&rct=AAAAA&opi=AAAAA&url=https://ublockorigin.com/&ved=AAAAA=AAAAA
https://github.com/uBlockOrigin/uBlock-issues/assets/71472458/37699362-c312-4728-977f-b8af4a1e0384
https://github.com/uBlockOrigin/uBlock-issues/assets/71472458/515d8cc4-4bb0-4bcc-b35c-da29c72a75f6
https://github.com/uBlockOrigin/uBlock-issues/assets/71472458/f7c0752a-54a1-4cde-80dd-87222cca31fa
Expected behavior
uBlock origin should also sanitize/clean search result URLs in mobile (default) mode just like it does with Desktop mode.
Actual behavior
Google search result URLs preserve their tracking parameters, which can prevent opening URLs in apps that have site associations and instead the links are opened in the same/new browser tab.
uBO version
1.53.0
Browser name and version
Firefox 120.0
Operating System and version
Android 13
Beta Was this translation helpful? Give feedback.
All reactions