-5

When the user clicks on the [Share] link under the post (either a question or an answer), a popup window appears with the link automatically highlighted. I propose that the link should be automatically highlighted and copied to the clipboard.

The most frequent action after clicking on [Share] is to copy and paste the link somewhere. I suggest to simplify the process. The link is already automatically highlighted. It is true that it is easy to copy: just use ctrl+c or cmd+c or click on [Copy link]. We can save an extra step, and just copy it for the user.

Share

9
  • 5
    If we go this route, we'd have to make it optional. Otherwise people are going to be surprised by having their clipboard overwritten when they didn't intend to.
    – Mast
    Jun 17 at 18:31
  • That would require a profile setting.
    – Mast
    Jun 17 at 18:31
  • @Mast: Perhaps change the text [Share] to [Copy link]? Jun 17 at 18:38
  • While that could work, if the company goes that route the Facebook and Twitter buttons become out of place.
    – Mast
    Jun 17 at 18:45
  • @Mast: Maybe the text should be [Copy link/Share]? Then we can still have the Facebook and Twitter buttons in the window that opens. Jun 17 at 18:59
  • 1
    I think that would unnecessarily take up space. Also, I wouldn't want to copy the URL text automatically if I just want to use the Twitter/Facebook buttons. There are many edge cases where your suggestion would not be preferable, so the UI is fine as it is.
    – Justin
    Jun 18 at 7:18
  • Don't security concerns prevent access to the clipboard in web browsers? Jun 18 at 8:54
  • 1
    @This_is_NOT_a_forum Reading from the clipboard is a security concern, but a script can easily write to the clipboard, eg javascript:(()=>{navigator.clipboard.writeText('Test')})()
    – PM 2Ring
    Jun 18 at 12:10
  • You can also just right-click the Share link and copy the link directly from there. Jun 19 at 16:40

1 Answer 1

2

No. That is a bad idea.

Personally, many times I browse Stack Exchange sites while at work, and in the middle of doing stuff, which might also include copy&paste of work-related things. I do not want to lose what I copied just because I clicked "share" link. That is simply bad.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .