From b1cb7384e26456c8247c0e29baf72cc1a000a83a Mon Sep 17 00:00:00 2001 From: Matteo Manzinello Date: Tue, 7 May 2019 14:43:24 +0200 Subject: [PATCH] aggiornato il README --- README.md | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index dd02e3e..725d206 100644 --- a/README.md +++ b/README.md @@ -9,31 +9,55 @@ mailgo will substitute all the `mailto:` links with the **mailgo modal** mailgo modal +--- + ## installation -add at the very and of the `` +add at the end of the `` ``` - + +... + + ``` -or, specifying `[VERSION]` +or download the script here and ``` - + +... + + ``` +--- + ## usage -now all your `mailto` links will be mailgone! +### default -you can also add mailgo to links like in this no-spam way: +**by default all the `mailto:` links will be enabled with mailgo only importing the script!** + +(and with the default usage in the modal will appear also cc, bcc, subject and body parameter if provided) + +Do you want to prevent the spam? Use a _no-spam usage_ instead the default usage + +### no-spam usage #1 (recommended) + +`write me!` + +- add `href="#mailgo"` to `` +- add `data-address` and `data-domain` to re-create your email address + +### no-spam usage #2 `write me!` -just adding **mailgo** as class and your email address splitted in **data-address** and **data-domain** +- add `class="mailgo"` to `` +- add `data-address` and `data-domain` to re-create your email address -### exclude a mailto +#### exclude a mailto to exclude a mailto link add to the `` element the class `no-mailgo` like in this example: