PDA

View Full Version : e-mail address and the clipboard


uglyoldbob
Aug-27-2009, 01:18 PM
I didn't find any search results for "e-mail clipboard".
How practical is it to have a weblink that copies your e-mail address to the visitors clipboard? I'm thinking I want a link that says something along the lines of, but not in the exact same words "Click here to copy my e-mail address to your clipboard".
I am thinking this could be done with some javascript in such a way that would effectively prevent bots from harvesting you e-mail address.

jfriend
Aug-27-2009, 01:26 PM
It is not very practical. For security reasons, it is now quite difficult to get anything onto the clipboard from a browser page without the user doing a Ctrl-C to copy and when it's possible, it is often done different in different browsers with different permission schemes. Smugmug uses a custom flash component to do this for the Share button.