Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Table of Contents

  1. Epinova EmailObfuscator

Epinova EmailObfuscator

Are your customers tired of being spammed? The reason is probably that they expose the mailadresses directly on the website. Here are the solution: A genius Httpmodule that obfuscates all mail adresses on the webpage.

Features

  • Hide / obfuscate all mail adresses on a webpage
  • Based on Javascript
  • If Javascript is turned off or not supported by the client, a picture of the mail address will be shown instead

Download

Configuration

Make the following changes to your web.config file:

Add a section for email obfuscator:

<?xml version="1.0"?>
  <configuration>
    <configSections>
      ...
      <section name="emailObfuscator" 
               type="Epinova.EmailObfuscator.Configuration.ObfuscatorSection" 
               allowLocation="true" 
               allowDefinition="Everywhere"/>

Then add the following, eg. right before the <system.web> tag:

<emailObfuscator configSource="emailObfuscator.config" />

Finally, you need to register the http handler:

<system.webServer>  
  <modules ....>
    <add name="EmailObfuscator" 
         type="Epinova.EmailObfuscator.HttpHandler, Epinova.EmailObfuscator" />

The emailObfuscator.config file must be set up according to your choices. There are three example config files provided in the source code.

Installation

  1. Build and drop the DLL in your bin directory
  2. Edit web.config file like described above
  3. Add an emailObfuscator.config file to the root of your website

Support

Tickets for this component:

#211
Got some errors in the Configuration class
#222
How to use Epinova.EmailObfuscator
#253
Email Obfuscator - I can t get it to work
#262
email in <meta> tag
#281
Problems when using ViewStateHelper
#360
Bug when using clientcallbacks

Ask a question

Requires login.


Report a bug

Requires login.


Add a feature request

Requires login.


Requirements

Runtime:

  • .NET 2.0 ->

If you want to change and compile the source code:

  • Visual Studio 2010

Contributed by

Epinova AS (epinova.no)