6

I often find myself sharing links to answers where I don't want others to be able to tell who I am on Stack Overflow.

It's really annoying to have to copy/paste the link and then delete the last portion of it every single time I want to share it.

It would be nice if there was a boolean setting for me in my profile that would take my user ID off of the sharing links.

12
  • 1
    Could be done with a userscript. I've one that drops the user ID and then formats the link into markdown syntax as [<question title>](<url without user id>) - makes linking to stuff in comments easier.
    – VLAZ
    Commented Mar 20, 2020 at 8:01
  • These sorts of things? (I've never used userscripts before.)
    – Pro Q
    Commented Mar 20, 2020 at 8:03
  • 1
    Yes - it's like a mini addon for the browser. You need another addon like Greasemonkey or Tampermonkey to manage them but after that it's just a matter of making a JavaScript file. This site has more info
    – VLAZ
    Commented Mar 20, 2020 at 8:05
  • 1
    I'm obviously missing something - why not just copy the URL from the browser?
    – Mureinik
    Commented Mar 20, 2020 at 8:12
  • @Mureinik it's too long in some cases, I guess.
    – VLAZ
    Commented Mar 20, 2020 at 8:13
  • 2
    Here's my userscript you can use NoUserIdShareLinks
    – Samuel Liew Mod
    Commented Mar 20, 2020 at 8:33
  • @Vlaz, a link to your UserScript? Commented Mar 20, 2020 at 8:43
  • 1
    @DragandDrop here I've not published it since I'm too lazy to make it better - currently it just dumps the link in the console. Feel free to make any adjustments you see fit and publish, if you wish. I grant thee the MIT license blessing.
    – VLAZ
    Commented Mar 20, 2020 at 8:48
  • @DragandDrop oh, right instructions to use - add the userscript and then questions will have a new button on the bottom called "share markdown" - it's alongside the other ones where "share" and "flag" are. Clicking it prints the markdown in the console, so press F12 and copy it.
    – VLAZ
    Commented Mar 20, 2020 at 8:53
  • 1
    You mean "sharing outside of Stack Overflow", right? If you post an answer or a comment in here, it's pretty clear from who it came.
    – Jongware
    Commented Mar 20, 2020 at 12:22
  • @Mureinik because answers don't have a URL I can link to. For questions, that is what I do, but I don't know of any way to share answers with a URL.
    – Pro Q
    Commented Mar 21, 2020 at 17:35
  • @Mureinik just discovered that this solves that problem
    – Pro Q
    Commented Mar 21, 2020 at 17:38

0

Browse other questions tagged .