162 Commits

Author SHA1 Message Date
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
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
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
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
3a1efd8daf MAILGO_VERSION dynamically managed by gulp 2019-05-09 14:52:24 +02:00
Matteo Manzinello
588659269e fix errore css font-size 2019-05-09 13:22:37 +02:00