Skip to content

Add "a" parameter to X and Twitter provider rules (#352) - #354

Open
jmansdorfer wants to merge 1 commit into
ClearURLs:masterfrom
jmansdorfer:add-a-twitter-x-rules
Open

jmansdorfer wants to merge 1 commit into
ClearURLs:masterfrom
jmansdorfer:add-a-twitter-x-rules

Conversation

@jmansdorfer

Copy link
Copy Markdown

Prerequisites

  • Are you sure that this rule only prevents tracking?
  • Are you sure that this rule does not destroy the function of the page?

Description

Adds a to the existing x and twitter provider's rules. X/Twitter appends a=<token> to post links
copied via the share menu, along with the s device param. The a parameter is most likely a unique tracking token so having it removed would be a good feature. This is a one-line addition to an existing provider's rules array; no existing rules are moved or removed.

Affected fields

  1. a

Example URLs

  1. https://x.com/OoCPokemon/status/2116696732113449379?a=km-iPVLqJ85w4CTILo8 → https://x.com/OoCPokemon/status/2116696732113449379
  2. https://twitter.com/OoCPokemon/status/2116696732113449379?a=km-iPVLqJ85w4CTILo8 → https://twitter.com/OoCPokemon/status/2116696732113449379

Issue

Fixes issue #352

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant