Skip to content

Netflix URL parameters not removed on click #2498

Description

@crisp5

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

Activity

  1. uBlock-user commented on Feb 16, 2023

    @uBlock-user
    Member

    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.

  2. crisp5 commented on Feb 16, 2023

    @crisp5
    Author

    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!

  3. garry-ut99 commented on Feb 16, 2023

    @garry-ut99
  4. uBlock-user commented on Feb 16, 2023

    @uBlock-user
    Member

    Duplicate of #1704

  5. ghost added
    duplicateThis issue or pull request already exists
    on Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions