vwochnik / jekyll-email-protect

Email protection liquid filter for Jekyll
MIT License
90 stars 11 forks source link

How does URL Encoding protect a mail address? #7

Open patrickfav opened 6 years ago

patrickfav commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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