bigla
bigla

Reputation: 98

Encoding mailto: fields with Lektor, email cloaking with Lektor

I want to "encode" mailto: fields on my web-page using Javascript to avoid SPAM. (This is also known as Email cloaking.)

I saw some implementation of this Idea here.

Now I'd like to add this mail address obfuscation functionality to the lektor admin interface.

Where (lektor-framework-wise) and how (plugin, addon, template, flowblock, type) would be the simplest way to achieve this?

I imagine an available (flow-)block in the admin interface with fields where I could enter:

Building the page with lektor should yield no plaintext e-mail addresses. And preferably enable the user to add it to a paragraph "inline".

I am also open to recommendations regarding better ways to avoid spam while enabling someone to contact you via e-mail.

Upvotes: 0

Views: 175

Answers (0)

Related Questions