Remove User ID from Stack Overflow Share URLs

Removes the User ID from the URL displayed by the "Share"

Fra og med 09.09.2018. Se den nyeste version.

Skaber
Kevin Locke
Bedømmelser
0 0 0
Version
1.0.0
Oprettet
09.09.2018
Opdateret
09.09.2018
Size
2,92 kB
Licens
MIT
Gælder for

A userscript to remove the User ID from short URLs displayed by the "Share" button on Stack Overflow and other Stack Exchange sites.

Important: The User ID is used to attribute links to your user account for badges. Removing it will remove the link attribution and prevent you from obtaining those badges.

Given the above restriction, why would someone want to remove the User ID? For me, the value of shorter, anonymous, user-invariant URLs far outweighs the value of link attribution. Others may have specific tools or use cases for Stack Overflow URLs which expect a certain format.

Features

  • Removes the User ID from both question and answer URLs.
  • Re-selects the URL text after changing to preserve copy behavior.
  • Only removes the User ID from recognized URL formats. If URL formats change, there should be no risk of removing non-User ID URL parts.
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元