Streaming live at 10am (PST)

Email spam protection


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.)

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="">secret email</a>


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


Great thanks.

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