Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Firefox Android] Google search result URLs preserve tracking, unless Desktop site mode is used #20833

Closed
9 tasks done
ThreeDeeJay opened this issue Nov 23, 2023 · 2 comments
Closed
9 tasks done

Comments

@ThreeDeeJay
Copy link

ThreeDeeJay commented Nov 23, 2023

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT an issue with YouTube, Facebook or Twitch.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

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

  • Turn on Desktop site in the menu which refresh the page
  • Tap and hold a search result again and this time it should show the direct URL like this: https://ublockorigin.com/

https://github.com/uBlockOrigin/uBlock-issues/assets/71472458/515d8cc4-4bb0-4bcc-b35c-da29c72a75f6

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

@MasterKia MasterKia transferred this issue from uBlockOrigin/uBlock-issues Nov 23, 2023
@MasterKia
Copy link
Member

Duplicate of #7960

@MasterKia MasterKia marked this as a duplicate of #7960 Nov 23, 2023
@MasterKia MasterKia mentioned this issue Nov 23, 2023
@ThreeDeeJay
Copy link
Author

Ohh, my bad. I thought URL sanitation wasn't directly related to filter lists so I didn't check the uAssets repo.
Anyway, thanks for reopening the original 👍

@uBlockOrigin uBlockOrigin locked and limited conversation to collaborators Nov 24, 2023
@mapx- mapx- converted this issue into discussion #20846 Nov 24, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants