Commit Graph

333 Commits

Author SHA1 Message Date
Matteo Manzinello ba07d032f1 css changes 2019-06-09 16:50:47 +02:00
Matteo Manzinello a4608b6193 css fix title 2019-06-03 18:54:31 +02:00
Matteo Manzinello 774fa57746 css changes 2019-06-03 18:50:28 +02:00
Matteo Manzinello d3be2896e4 reordered code 2019-06-03 15:01:13 +02:00
Matteo Manzinello 10f4b564f9 css changes 2019-05-31 22:29:38 +02:00
Matteo Manzinello 783393f343 added the support to multiple to, cc and bcc! 2019-05-29 12:24:16 +02:00
Matteo Manzinello 08e29707bb works to make the multiple email address compatible 2019-05-29 09:16:19 +02:00
Matteo Manzinello 3f24fe3188 fixed ISSUE #26 2019-05-28 20:03:24 +02:00
Matteo Manzinello 045a77ae10 added id to style 2019-05-27 11:37:37 +02:00
Matteo Manzinello 371f366d84 removed an old console.log 2019-05-27 10:59:21 +02:00
Matteo Manzinello 54df670bcb css is now completely in the script (no more external css!) 2019-05-27 10:38:42 +02:00
Matteo Manzinello e33b97fd0c init style in head 2019-05-27 09:27:04 +02:00
Matteo Manzinello ca785d6be8 fix bug with keydownlistener 2019-05-26 14:21:53 +02:00
Matteo Manzinello f5d7bef15c comments 2019-05-26 13:45:05 +02:00
Matteo Manzinello 514671d82b custom composedPath (ISSUE #24) 2019-05-26 13:43:17 +02:00
Matteo Manzinello 9f0138292e composedPath instead path to fix issue #24 2019-05-26 12:53:16 +02:00
Matteo Manzinello 51591eef7f a lot of fix (outlook link) 2019-05-24 21:18:40 +02:00
Matteo Manzinello 3a2ae160bc fix outlook optional parameters 2019-05-24 21:04:42 +02:00
Matteo Manzinello 8f4c8dae2d use of some() 2019-05-24 20:59:48 +02:00
Matteo Manzinello bfae93f898 changed outlook link to outlook.live 2019-05-24 18:26:34 +02:00
Matteo Manzinello dab541edaa fix ISSUE #23 2019-05-24 10:32:02 +02:00
Matteo Manzinello a321258ba5 better arrow functions 2019-05-23 11:15:17 +02:00
Matteo Manzinello fa9cdd3864 fix space after subject 2019-05-23 10:54:43 +02:00
Matteo Manzinello 2f498134b7 changed the ref 2019-05-22 12:51:11 +02:00
Matteo Manzinello e744b703c0 added ref to mailgo by 2019-05-22 12:12:01 +02:00
Matteo Manzinello e761de74e1 removed a with attribute mailgo 2019-05-22 09:31:05 +02:00
Matteo Manzinello 3efe757d82 a bit different css for by 2019-05-21 20:47:20 +02:00
Matteo Manzinello 24e8ec0c70 fix some css bugs 2019-05-21 12:28:16 +02:00
Matteo Manzinello e7ce3765c4 fix errors in case of body is not initialized 2019-05-21 12:26:46 +02:00
Matteo Manzinello 92f061f87c shorthand helper functions 2019-05-21 09:20:51 +02:00
Matteo Manzinello eec0f14a35 actions object 2019-05-21 09:13:13 +02:00
Matteo Manzinello 2b9c2fe135 mailgoIsShowing instead of hidden 2019-05-21 09:06:03 +02:00
Matteo Manzinello d3744575c1 keyboard commands added! g=gmail, o=outlook, spacebarORenter=default, c=copy 2019-05-20 18:05:42 +02:00
Matteo Manzinello 49597597f4 added a function to find if mailgo is showing 2019-05-20 17:57:30 +02:00
Matteo Manzinello 2a34df709f changed gmail and outlook, now open new tab 2019-05-20 17:54:45 +02:00
Matteo Manzinello ae33ab4419 fix css, modified text of open in open default 2019-05-17 10:31:42 +02:00
Matteo Manzinello 51eaecbf9f const instead of let 2019-05-16 12:01:11 +02:00
Matteo Manzinello f64250cb31 css fix, changed some classes (outlook,gmail and default) 2019-05-15 19:28:14 +02:00
Matteo Manzinello bd8956e604 fix babel 2019-05-15 19:18:12 +02:00
Matteo Manzinello 3b127c612a fix css hover on element 2019-05-14 17:49:11 +02:00
Matteo Manzinello 5207390f71 add keydown only when the modal is showing, remove it when now showing 2019-05-13 12:43:37 +02:00
Matteo Manzinello a8ef614a7c added bcc in data 2019-05-13 12:13:04 +02:00
Matteo Manzinello e07aad3a8a new data-cc-address, data-cc-domain, data-subject, data-body 2019-05-13 12:10:57 +02:00
Matteo Manzinello 5747e41b3c rename stylesheet in mailgoCSS 2019-05-13 12:03:22 +02:00
Matteo Manzinello 33af92a28c updated comment of mailgoCheckRender 2019-05-12 13:28:51 +02:00
Matteo Manzinello 5240720449 switch case for mailgoKeydown 2019-05-12 13:13:51 +02:00
Matteo Manzinello d00d0e7149 refactor of keydown event (for future enhancements and features) 2019-05-12 12:28:21 +02:00
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
Matteo Manzinello 80aa99c919 rimosse arrow function 2019-05-05 21:05:50 +02:00
Matteo Manzinello 894bf17667 aggiunte font-weight 2019-05-05 20:58:54 +02:00
Matteo Manzinello f3a2196973 avanti con mailgo 2019-05-05 17:59:20 +02:00
Matteo Manzinello 206cb01489 fix errori hex 2019-05-04 01:45:02 +02:00
Matteo Manzinello dbfaccd687 aggiunto by 2019-05-04 01:40:58 +02:00
Matteo Manzinello a2a47b1f39 avanti con le funzionalità 2019-05-04 01:14:10 +02:00
Matteo Manzinello 37e1dc5229 avanti generazione del modal e funzione per copiare 2019-05-04 01:12:09 +02:00
Matteo Manzinello 1db57ce95c prelevo in modo corretto l'email 2019-05-04 00:19:24 +02:00
Matteo Manzinello 0e9e91ad24 gulp 2019-05-03 21:23:02 +02:00
Matteo Manzinello 943ddfae0d gulp 2019-05-03 18:29:50 +02:00
Matteo Manzinello 565822a8ee ottengo correttamente i parametri 2019-05-03 18:11:00 +02:00
Matteo Manzinello be9329517b aggiunta function validateEmail 2019-05-03 13:03:25 +02:00
Matteo Manzinello 110f9c6de3 nascondo il modal al clic fuori 2019-05-03 12:58:59 +02:00
Matteo Manzinello 4950af8359 bozza di modal in centro alla pagina 2019-05-03 12:26:06 +02:00
Matteo Manzinello fe0aca3267 aggiunto div di background 2019-05-03 11:51:38 +02:00
Matteo Manzinello 3a31036516 avanti modifiche CSS 2019-05-03 11:15:17 +02:00
Matteo Manzinello 4da60fd1c5 mostro al centro mailgo 2019-05-03 09:08:25 +02:00
Matteo Manzinello a9b0b7d675 test di css, html di demo 2019-05-02 23:31:16 +02:00
Matteo Manzinello bff2c96fa3 bozza di show del popiup 2019-05-02 21:39:25 +02:00
Matteo Manzinello 3c22edcd7a gulp 2019-05-02 21:34:06 +02:00
Matteo Manzinello edb2d43601 css in js, gulp 2019-05-02 21:32:30 +02:00
Matteo Manzinello 38da97a0c5 modifiche css 2019-05-02 18:30:32 +02:00
Matteo Manzinello bd7f935576 aggiunto webpack 2019-05-02 12:55:42 +02:00
Matteo Manzinello 52ce21e8eb aggiunto mailgo.css 2019-05-02 12:53:34 +02:00
Matteo Manzinello cda2f7749d avanti con generazione html 2019-05-02 12:35:33 +02:00
Matteo Manzinello c55d7fe5a7 inizio di lavoro per div 2019-05-02 12:32:23 +02:00
Matteo Manzinello 68d3cbd733 aggiunto no-mailgo 2019-05-02 11:39:34 +02:00
Matteo Manzinello 74b0961d30 aggiunti commenti 2019-05-02 10:57:51 +02:00
Matteo Manzinello 4887c63609 commentata creazione dinamica html, prima versione con alert del browser 2019-05-01 00:27:08 +02:00
Matteo Manzinello 2137a37f84 bozza inserimento element 2019-05-01 00:17:32 +02:00
Matteo Manzinello 7370e327b6 clicked 2019-04-30 23:42:01 +02:00
Matteo Manzinello 71353aad88 console.log wip 2019-04-30 12:41:40 +02:00
Matteo Manzinello 3ec3825e01 rimosso alert inutile 2019-04-30 12:02:10 +02:00
Matteo Manzinello b87df73c49 console.log 2019-04-30 11:48:17 +02:00
Matteo Manzinello ee4d6331c3 aggiunto event listener su tutti i mailto 2019-04-30 11:00:11 +02:00
Matteo Manzinello 4039e04ab9 bozza mailgo.js 2019-04-30 09:46:02 +02:00