Giter VIP home page Giter VIP logo

naemail's Introduction

NaEmail

A simple javascript script to "replace" email markup with a real email. Fight spam!

Why

I built this for a friend who was concerned about getting spam in their e-mail. So, I decided to make a script for fun to help them :)

Now, I release it into the wild!

What's with the name?

'Na' means 'after' in Dutch. When I built this, I was soon leaving to visit The Netherlands and needed a name, so it was just inspirational.

Getting Started

Include na-email.js or 'na-email.min.js (if small things is your fancy ;]) script onto your webpage and you're ready to start!

To use this, add the CSS class na-email to your HTML tag with the follow attributes and values:

  • data-email-name: the example in [email protected]
  • data-email-domain: the someworld in [email protected]
  • data-email-top-level: the com in [email protected]. Don't add the first period!
  • data-email-dont-replace: Adding this makes the script not replace your content within the tag. Default is true.

If there is any confusion, please see index.html for a demo :)

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.