0

I'm currently exploring ways to hide mail addresses from spam bots. I don't want to insert pictures. JavaScripting to hide addresses and decrypt them onclick is a neat option, but then I also want people to be able to hightlight the address and then copy (+paste) it in their preferred mail client.

So I came up with the idea to insert spans with "user-select: none", so this will prevent the user from highlighting it, but it will still be copied (at least in Chrome).

I don't want to use a popup as suggested in another thread here. What I could imagine is a small popover below when hovering over the link ... something like "Send mail" and when you hover over it, a small box will appear below with the correct mail address decrypted right then by JavaScript. The downside is that users might not be aware of this method and fail to find the address.

Any ideas?

Community
  • 1
  • 1
Momro
  • 971
  • 1
  • 10
  • 16

1 Answers1

0

A posible thing you could do is a button that when clicked puts the decrypted email adress onto the clipboard. If you properly lable the button it should not be hard for users to see what its for. Imgur uses a similar button for getting image links and so does imageshack if I recall correctly.

Ninta
  • 21
  • 5