Page 1 of 1

Copy link to clipboard feature on social share

Posted: 14 Mar 2018, 08:05
by olivewhite
Hello
i wish we had a simple copy link item on social share tool, that would be great! 
Like this tool https://clipboardjs.com/
Thank in advance
Olive

Re: Copy link to clipboard feature on social share

Posted: 15 Mar 2018, 04:28
by mjau-mjau
olivewhite wrote:i wish we had a simple copy link item on social share tool, that would be great! 
Like this tool https://clipboardjs.com/
Good idea.

We already use this script in the new forums to copy code ... 
Code
// Click "select all" button above to copy me!

Re: Copy link to clipboard feature on social share

Posted: 26 May 2018, 16:10
by mjau-mjau
This request came up in my TODO list recently, and I had a think about it. My first thought was that it doesn't seem productive. Most users will simply copy link from browser url, which is already quick and easy with [select + cmd-c]. I don't think it is reasonable to expect that visitors will look for a "copy link" feature in a website-specific toolbar when the visitor already has an existing behavior for this. All in all, it doesn't seem like a worthwhile X3 feature, but I decided to add it as a non-default option in release X3.25.0:

Toolbar clipboard button
Image

Simply add the following item to Settings > Toolbar > Items:
Code
{
  "id": "clipboard",
  "icon": "clipboard",
  "label": "Copy link"
}
You can change icon and label, but id must be "clipboard".
Image