Skip to main content

A simple KSS component for hiding email addreses from spammers.

Project description

This document describes the zest.emailhider package.

Dependencies

This package does not rely on other packages.

Overview

This package provides a mechanism to hide email addresses with KSS. Objects display a placeholder link with a ‘hidden-email’ class and a ‘uid’ kss attribute set to the UID of a user; a KSS click action is bound to the link which replaces it with a ‘mailto’ link directed at the email address of the user. Using this mechanism the email address isn’t visible in the initial page load, and it requires JavaScript to be seen - so it’s much harder for spammers to harvest.

Object are marked with the IMailable interface - this states that they can provide uid and email attributes. The ‘emailhider’ view is provided to generate the placeholder link.

Note: For publicly viewable email address, KSS must be made publicly accessible. History of zest.emailhider package ==================================

1.0 (2008-10-20)

  • Initial creation of project. [simon]

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page