“Share” links under questions and answers include one's UserId, which may not be desirable for those who want to keep separate online identities at SE and elsewhere. (Pointed out at Meta Stack Overflow.)

This simple script removes the UserId from "share" links.
Tested in Chrome with Tampermonkey.

  • The current script will fail to act on dynamically loaded posts (new, pagination, etc.) Use an AJAX-aware technique (Timer, waitForKeyElements, Mutation Observer, etc.) to handle those. – Brock Adams Jul 30 '15 at 6:47
  • It looks like your links are dead now, unfortunately – jrh Jun 3 at 17:27

You must log in to answer this question.