jekyll-email-protect icon indicating copy to clipboard operation
jekyll-email-protect copied to clipboard

How does URL Encoding protect a mail address?

Open patrickfav opened this issue 7 years ago • 2 comments

As far as I understand this liquid filter will just url encode the email address. To me, this kind of defeats the purpose as it will only get harder to read for humans, but is still easy to read for machines - so basically the opposite of what is intended?

Isn't the only way to obfuscate the mail to use some naive javascript obfuscation so it is not visible in the source of the HTML?

patrickfav avatar May 29 '18 12:05 patrickfav

Case in point: http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/ "(...) URL encode is the next-to-least effective. Only plain text was worse."

patrickfav avatar May 31 '18 09:05 patrickfav

Here is a gist of a simple plugin I made for my page with another implementation incorporating some tricks mentioned in the blog above:

https://gist.github.com/patrickfav/3f9127e25dd6538f0d682b89cbfaefd9

patrickfav avatar May 31 '18 10:05 patrickfav