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

Netflix URL parameters not removed on click #2498

Closed
5 tasks done
crisp5 opened this issue Feb 16, 2023 · 4 comments
Closed
5 tasks done

Netflix URL parameters not removed on click #2498

crisp5 opened this issue Feb 16, 2023 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@crisp5
Copy link

crisp5 commented Feb 16, 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 with LegitimateURLShortener list does not remove URL params when clicking on a video in Netflix.

A specific URL where the issue occurs.

https://www.netflix.com/watch/70196252?trackId=14170289&tctx=1%2C0%2C383753a9-8687-4a60-a53c-be18c25ddf67-81757184%2CNES_BC905A0CC1350F2E821EEA46154994-B9F225DDE3A711-3D4F048A1B_p_1676524458178%2CNES_BC905A0CC1350F2E821EEA46154994_p_1676523944127%2C%2C%2C%2C70143836%2CVideo%3A70143836

Steps to Reproduce

  1. Install uBlock Origin
  2. Import DandelionSprout's Legitimate URL Shortener list (https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt)
  3. Log in to Netflix.
  4. Click on a content tile (e.g. a movie, a series) to start playing it.

Expected behavior

Upon clicking on a movie or series, the URL should have the form https://www.netflix.com/watch/<CONTENT_ID>, without any URL parameters.

Actual behavior

The URL has the form https://www.netflix.com/watch/<CONTENT_ID>?trackId=<TRACKING_ID>&tctx=<LONG_CONTEXT_STRING>. The parameters disappear upon refreshing the page, as expected. Logger only shows removeparam rules being triggered on refresh, not on click.

Configuration

uBlock Origin: 1.47.0
Firefox: 110
filterset (summary):
network: 98157
cosmetic: 166144
scriptlet: 24532
html: 1038
listset (total-discarded, last-updated):
added:
https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt: 2122-1, 2h
adguard-spyware-url: 920-135, 2h
adguard-annoyance: 64065-764, 2h
fanboy-annoyance: 84160-5507, 2h
ublock-annoyances: 4788-4, 2h
default:
user-filters: 4-0, never
ublock-filters: 33510-58, 2h
ublock-badware: 4357-5, 2h
ublock-privacy: 323-2, 2h
ublock-abuse: 79-0, 2h
ublock-unbreak: 1895-3, 2h
easylist: 61818-656, 2h
easyprivacy: 30969-1746, 2h
urlhaus-1: 6076-0, 2h
plowe-0: 3680-2, 2h
ublock-quick-fixes: 169-0, 2h
filterset (user): [array of 4 redacted]
trustedset:
added: [array of 3 redacted]
removed:
moz-extension-scheme
hostRuleset:
added: [array of 316 redacted]
modifiedUserSettings:
advancedUserEnabled: true
modifiedHiddenSettings: [none]
supportStats:
allReadyAfter: 450 ms (selfie)
maxAssetCacheWait: 150 ms

@uBlock-user
Copy link
Contributor

The parameters disappear upon refreshing the page, as expected. Logger only shows removeparam rules being triggered on refresh, not on click.

Cosmetically added params cannot be removed via removeparam.

@crisp5
Copy link
Author

crisp5 commented Feb 16, 2023

Good to know, this can be closed as a dupe of whatever issue first brought it up then. Would you consider adding a note to the wiki if this is specific to removeparam and you get the issue repeatedly? Thank you!

@garry-ut99
Copy link

garry-ut99 commented Feb 16, 2023

Would you consider adding a note to the wiki if this is specific to removeparam and you get the issue repeatedly?

It's already explained there, at the very beginning, mentioned two times :

New in 1.32.0. ( ==> Related issue: #760 ==> #760 (comment) )

To remove query parameters from the URL of network requests

But if it's still not clear enought, then maybe worth adding to Wiki :
"Cosmetically added params cannot be removed via removeparam."
EDITED: Wiki has been updated


Good to know, this can be closed as a dupe of whatever issue first brought it up then.

Duplicate of #1951 / #1767 / #1704.

and you get the issue repeatedly?

Perhaps too much cursory.

@uBlock-user
Copy link
Contributor

uBlock-user commented Feb 16, 2023

Duplicate of #1704

@uBlock-user uBlock-user marked this as a duplicate of #1704 Feb 16, 2023
@gwarser gwarser added the duplicate This issue or pull request already exists label Feb 16, 2023
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

4 participants