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: cleaning Twitter source links #37

Closed
ZacharyTalis opened this issue Jul 15, 2021 · 1 comment
Closed

Feature request: cleaning Twitter source links #37

ZacharyTalis opened this issue Jul 15, 2021 · 1 comment

Comments

@ZacharyTalis
Copy link

ZacharyTalis commented Jul 15, 2021

Description:

Twitter URLs, when visited directly, are formatted like -

https://twitter.com/HugeNintendoDS/status/1386171485417623552

When clicking on Share button > Copy link to Tweet, an additional source tag is appended -

https://twitter.com/HugeNintendoDS/status/1386171485417623552?s=20

This tag introduces a pestersome More Tweets section that replaces replies with algorithmically-suggested tweets."

Suggested implementation:

Introduce off-by-default link cleaning for Twitter links that redirects tag-appended URLs to their tagless counterparts.

If possible, stop Twitter from inserting a source tag when Copy[ing] link to Tweet.

Of note:

  • The number following s= varies by client.
  • I'd contribute the PR myself, but I'm bad at regex 😢
@apiraino
Copy link
Owner

closed by #40

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

No branches or pull requests

2 participants