Skip to content
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

Feature Request: URL parameter extraction from awstrack.me URLs #2755

Closed
5 tasks done
vishalnandagopal opened this issue Jul 26, 2023 · 2 comments
Closed
5 tasks done
Labels
duplicate This issue or pull request already exists

Comments

@vishalnandagopal
Copy link

vishalnandagopal commented Jul 26, 2023

Prerequisites

  • 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.
  • using a new, unmodified browser profile.

Description

uBlock Origin allows you to avoid tracking domains by showing the URL parameters as part of the UI of the "Page blocked" page, which is useful for a few domains. It works quite well when the URL is included as a parameter, but does not work work when the URL is included as a path in the domain.

Example: I use Gmail and I click on a link in a email I received. It is a link on the awstrack.me domain. uBO blocks the initial tracking redirection by Google because I have google.com/url$all in my filter list.

image

When I click on the q parameters, it blocks the awstrack.me since it is present in "Peter Lowe’s Ad and tracking server list". However, it does not provide any solution for avoiding that domain, which means you'll have to temporarily bypass the protection to view the final anyway, rendering the block useless unless you decide to not view the final site.

image

Eg URL: https://rn619dmj.r.us-east-1.awstrack.me/L0/https:%2F%2Ftimesofindia.indiatimes.com%2Fcity%2Fjaipur%2Fanti-dumping-duty-on-frames-for-solar-panels-will-hit-desi-producers%2Farticleshow%2F102066351.cms%3Ffrom=mdr/1/01000189xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Final URL - https://timesofindia.indiatimes.com/city/jaipur/anti-dumping-duty-on-frames-for-solar-panels-will-hit-desi-producers/articleshow/102066351.cms?from=mdr

The final URL is the part of the domain after the /L0/ and before the /1/.

uBO could add resolution of domains in paths if the path seems to be an encoded URL like in the link above, and this could help avoid domains that include the final URL in the path, and not as a parameter.

I understand checking every URL for hidden encoded URLs would add some performance issues, so maybe it could do it on specific domains like awstrack.me

A specific URL where the issue occurs.

https://rn619dmj.r.us-east-1.awstrack.me/L0/https:%2F%2Ftimesofindia.indiatimes.com%2Fcity%2Fjaipur%2Fanti-dumping-duty-on-frames-for-solar-panels-will-hit-desi-producers%2Farticleshow%2F102066351.cms

Steps to Reproduce

  1. Click a tracking link on the awstrack.me domain.
  2. The page is blocked, with no solution (such as an extracted URL) provided.
  3. You have to unblock the site temporarily/permanently to view the site anyway, rendering the block useless

Expected behavior

uBO can show the URL it would lead to

Actual behavior

uBO does not show the URL it will eventually lead to

Configuration

Peter Lowe’s Ad and tracking server list is enabled, along with some custom filters.

@MasterKia
Copy link
Member

Duplicate of #1096

@MasterKia MasterKia marked this as a duplicate of #1096 Jul 26, 2023
@MasterKia MasterKia closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2023
@MasterKia MasterKia added the duplicate This issue or pull request already exists label Jul 26, 2023
@gorhill
Copy link
Member

gorhill commented Jul 26, 2023

ClearURLs is best suited for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants