![]() ![]() The string is your base64-encoded emailĬonst emailAddress = atob("bWFpbHRvOnlvdUBkb21haW4uY29t") All links with the attribute ‘data-gen-email’ will work. My version generates the link on the fly from a base64-encoded email string when the user hovers over the link, or if on a mobile device, touches it. You can use external services like which I hadnt heard of before but you create a hyperlink to the mailto command. Html - How to spamproof a mailto link? - Stack Overflow Is there a better way that you can recommend to protect emails addresses from being harvested?, I do not want to use an email form, I had countless of problems from spammers abusing email forms.ģ.1 I would prefer to use solution on point 1 but I do not want to touch de secirity default values of Grav, so how can I run this single php script only?ĭid have a look at the age old problem as a friends site is currently getting bombarded with spam due to a bad web developer. Then I use the recommendation on this forum post, it works but when I see the webpage code it simply substitutes the ASCII characters of the email address for its equivalent HTML identity, and I guess that trick can be overcome by spam bots: ![]() ![]() The content of the redirect-mailto.php file is a script that redirects to the actual mailto link: If you have any questions or suggestions, please write us an I was trying to use a php redirection technique from this page, but Grav does not allow to run php scripts no matter how permissive are the privileges. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |