286 Commits

Author SHA1 Message Date
Matteo Manzinello
ec515f6a06 added a new possibility to enable mailgo, with the attribute mailgo in the a element 2019-05-12 12:23:23 +02:00
Matteo Manzinello
e735733099 fix error with href=#mailgo 2019-05-12 12:21:38 +02:00
Matteo Manzinello
df23910808 added mailgoCheckRender on body, not on the document 2019-05-12 12:13:42 +02:00
Matteo Manzinello
dd25a843c3 FIX issue z-index Safari 2019-05-12 00:27:20 +02:00
Matteo Manzinello
6daffab8bf added a lot of comments 2019-05-12 00:21:38 +02:00
Matteo Manzinello
c981beb50f introduction of getE 2019-05-12 00:05:52 +02:00
Matteo Manzinello
41b14b5ad8 a lot of fix of the new mailgo that intercepts all the mailto links 2019-05-12 00:02:20 +02:00
Matteo Manzinello
cc62f544c2 code completely rewritten with full support to SPA, html of modal more simple, a lot of CSS problems solved 2019-05-11 19:09:41 +02:00
Matteo Manzinello
56e7d2bcd0 functions showMailgo and hideMailgo 2019-05-11 10:03:51 +02:00
Matteo Manzinello
491df0e836 fix comment 2019-05-11 00:50:51 +02:00
Matteo Manzinello
71df7e916a change the visibility of the modal (now in js, not in css) 2019-05-11 00:28:32 +02:00
Berkowitz
0f82f4865f event listener for esc keypress 2019-05-10 15:01:48 -04:00
Matteo Manzinello
70662fee62 release v0.2.8 2019-05-10 16:27:28 +02:00
Mike Samuel
f14e07636f
Cleanup some encoding and content generation issues
*  Match "mailto:" case-insensitively
*  Decode mailto: param to properly handle email addresses that contain
   non-ASCII characters.
*  Encode email address before crafting mailto: URL so that emails that
   contain '#' work properly and do not cut off URL parameters when later
   generating URLs for Gmail, Outlook, etc.
*  URL Encode email when generating URLs for Gmail, Outlook, etc. so
   that a crafted email address cannot specify extra parameters to those
   services.
*  Don't append '?' to outlook email address.
*  Rename encrypt to encode since "encrypt" implies hard-to-reverse
   which btoa is not.
*  Assign to textContent instead of innerHTML to make it obvious to
   security linters that the library does not use XSS-risky patterns.
2019-05-10 09:52:21 -04:00
Matteo Manzinello
61b1c02c2b const mailto 2019-05-10 15:21:17 +02:00
Matteo Manzinello
ba496d3a0a css changes, box-sizing fix 2019-05-10 00:08:20 +02:00
Matteo Manzinello
c528901893 content-box fixing 2019-05-09 21:33:51 +02:00
Matteo Manzinello
9ad21f7a4c fix css font-family 2019-05-09 14:59:41 +02:00
Matteo Manzinello
3a1efd8daf MAILGO_VERSION dynamically managed by gulp 2019-05-09 14:52:24 +02:00
Matteo Manzinello
87cd88b3ff inizio di reset-css iniziale 2019-05-09 14:46:16 +02:00
Matteo Manzinello
588659269e fix errore css font-size 2019-05-09 13:22:37 +02:00
Matteo Manzinello
0613700492 css fix 2019-05-09 12:53:32 +02:00
Matteo Manzinello
6123dabdf4 comments translated 2019-05-09 12:11:10 +02:00
Matteo Manzinello
6bbbd64cc7 v0.2.2 2019-05-09 12:06:03 +02:00
Matteo Manzinello
d43d098cbc aggiunta version (per ora statica) 2019-05-09 11:40:00 +02:00
Matteo Manzinello
8a819321bb gestione migliore delle funzioni con arrow function 2019-05-09 09:58:49 +02:00
Matteo Manzinello
b00bd27776 aggiunta funzionalità di encryption-decryption dell'email per evitare lo spam (WIP) 2019-05-09 09:23:12 +02:00
Matteo Manzinello
5ed27a17e3 aggiunta funzionalità di encrypt email (da testare) 2019-05-09 09:16:31 +02:00
Matteo Manzinello
ac93120e5d nuova import di unpkg per il js 2019-05-08 13:34:01 +02:00
Matteo Manzinello
90927d898b rimosso styles da js 2019-05-08 13:26:58 +02:00
Matteo Manzinello
1248b37584 aggiunto mailgo.css (in src), WIP 2019-05-08 11:15:58 +02:00
Matteo Manzinello
9dd5a4f8ba arrow functions 2019-05-07 21:33:39 +02:00
Matteo Manzinello
87f4f94114 aggiunti molti commenti 2019-05-07 13:32:17 +02:00
Matteo Manzinello
6f8f825636 rimosso no-mailgo da .mailgo 2019-05-07 13:27:33 +02:00
Matteo Manzinello
98fd41fb46 aggiunto href=#mailgo come possibilità 2019-05-07 13:27:12 +02:00
Matteo Manzinello
ee2fcac951 aumentato lo z-index per problemi di css (WIP) 2019-05-07 12:52:46 +02:00
Matteo Manzinello
c29446663f inizio di modifiche README, not anche a mailgo senza mailto 2019-05-06 19:13:20 +02:00
Matteo Manzinello
69bc1f2155 aggiunto timeout 2019-05-06 19:10:11 +02:00
Matteo Manzinello
15dfc84f21 timeout per copy 2019-05-06 19:08:31 +02:00
Matteo Manzinello
7c76dcfcbc ora possibile aggiungere mailgo ad elementi a con data-address e data-domain 2019-05-06 19:05:15 +02:00
Matteo Manzinello
b3838136c0 abilitato anche a con class 2019-05-06 19:01:59 +02:00
Matteo Manzinello
e3483cec6e miglioramenti css 2019-05-06 18:53:52 +02:00
Matteo Manzinello
17bbcfec96 class .mailgo 2019-05-06 15:58:10 +02:00
Matteo Manzinello
5f42d2c79c const al posto di alcune let 2019-05-06 14:55:17 +02:00
Matteo Manzinello
1334a7be5f italic del mailgo-by 2019-05-05 22:15:04 +02:00
Matteo Manzinello
248117cf47 migliorato css 2019-05-05 22:13:01 +02:00
Matteo Manzinello
e3b18e50b2 spostato styles al caricamento del document 2019-05-05 21:46:11 +02:00
Matteo Manzinello
0653631200 mostro correttamente cc, bcc, body e subject 2019-05-05 21:43:17 +02:00
Matteo Manzinello
ba97a975cc aggiunti tutti i dettagli 2019-05-05 21:38:48 +02:00
Matteo Manzinello
a1ff8f5fdc aggiunto listener al load 2019-05-05 21:07:27 +02:00