Streaming live at 10am (PST)

Email spam protection


#1

Can someone explain step by step on how to use this JS method in Webflow in order to protect email addresses against spam? (The script was recommended in another thread which is closed for discussion.)

http://jsfiddle.net/UL2Rm/

In particular I would like to know how to deal with the html part of the code:

<a class="js-email" data-user="bob" data-server="gmail.com">secret email</a>

#2

Just paste the JS code in Site Settings > Custom Code > Footer Code, in-between script tags, give the link element a class js-email then add two custom data attributes to it.


Also, feel free to contact me for further code help and/or customization of third-party plugins


#3

Great thanks.

Just to clarify, the two data attributes need to be added as shown in the attached screenshots?