I want to use JavaScript to generate e-mail addresses dynamically so that they are not in plain text in the HTML code and use the button from elements, is there a way to do this?
There are a bunch of techniques to make it harder for bots to harvest the email addresses. But no client side technique is fail safe. Advanced bots can get the addresses if they are client side, no matter what you do. Basically if you’re thinking of displaying human readable email address, or mailto from a button, it will be harvested no matter what. Server side sending is the only safe way.
thanks for the explanations, yes that’s exactly how i see it, just wanted to know if it’s easy to connect a js in elements via a button and how that works.
It’s relative I guess. Easy, when you know how. You need to start here :
If you have any specific questions, more than happy to help.
yes is the reason why i use elements, but still after 1 week hard to understand and find everything right away, but i’ll keep at it, thanks