GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Feature Request]: Email address obfuscation/encryption #1479

Open brzGatsu opened 2 months ago

brzGatsu commented 2 months ago

Feature Description

It would be great to have a builtin email-address obfuscation/encryption as spam-prevention.

Here are some common techniques: https://www.ionos.com/digitalguide/e-mail/e-mail-security/protecting-your-email-address-how-to-do-it/

I personally like the javascript/rot13 solution but with a random rotation, not 13. It can be combined with hex entity conversion as well.

Captcha would in most cases require an external provider which is problematic in terms of gdpr.

candidexmedia commented 1 month ago

@brzGatsu Thanks for sharing the link! I didn't know what rot13 was until now.

In the meantime, I use a form with a honeypot. It doesn't eliminate all spam, but at least the address (whether scrambled or not) isn't out there.

I've also heard of Mailgo, although I'm not sure if their "less spam" implementation is truly scraper safe...

https://mailgo.dev/docs/examples