Class: ObscureMailto {#ObscureMailto}

Decodes email addresses in anchor tags to present a valid email address to the user while keeping an obscured address to email harvesting bots

Demo

ObscureMailto Method: constructor {#ObscureMailto:constructor}

Syntax:

var myObscureMailto = new ObscureMailto(options);

Arguments:

  1. options - (obj) The options below:

Options:

Example:

HTML:

<a href="mailto:">rpflorence{at}gmail{dot}com</a>

JavaScript

new ObscureMailto();