diff options
author | 2019-09-28 12:10:25 +0200 | |
---|---|---|
committer | 2019-09-28 12:10:25 +0200 | |
commit | 728d339739b63e9bb59e457e4a84fe9a65b93fc9 (patch) | |
tree | a0fc6180ea26fa9ef397458e8eb6491031d6437d /uncompressed/proton-mail | |
parent | Add list of recipes (diff) | |
download | ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.gz ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.zst ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.zip |
Add uncompressed recipes
Diffstat (limited to 'uncompressed/proton-mail')
-rw-r--r-- | uncompressed/proton-mail/LICENSE | 21 | ||||
-rw-r--r-- | uncompressed/proton-mail/icon.svg | 7 | ||||
-rw-r--r-- | uncompressed/proton-mail/index.js | 4 | ||||
-rw-r--r-- | uncompressed/proton-mail/package.json | 24 | ||||
-rw-r--r-- | uncompressed/proton-mail/webview.js | 10 |
5 files changed, 66 insertions, 0 deletions
diff --git a/uncompressed/proton-mail/LICENSE b/uncompressed/proton-mail/LICENSE new file mode 100644 index 0000000..4af831c --- /dev/null +++ b/uncompressed/proton-mail/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2018 Lukas Reineke | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/uncompressed/proton-mail/icon.svg b/uncompressed/proton-mail/icon.svg new file mode 100644 index 0000000..c71c72a --- /dev/null +++ b/uncompressed/proton-mail/icon.svg | |||
@@ -0,0 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="477.688px" height="670.725px" viewBox="0 0 477.688 670.725"> | ||
3 | <g fill="#336"> | ||
4 | <path d="M238.688,0.021c0,0-197.877-6.5-238.688,213v149.5c0,0,1.688,16,46.688,48.5s161.5,124,192,124s147-91.5,192-124 s46.688-48.5,46.688-48.5v-149.5C436.565-6.479,238.688,0.021,238.688,0.021z M374.188,294.521h-135.5h-135.5v-81.5 c27.5-109,135.5-110.5,135.5-110.5s108,1.5,135.5,110.5V294.521z"/> | ||
5 | <path d="M238.688,568.688c0,0-30.667-3.001-54.667-19.667S0,418.021,0,418.021v226.334c0,0,1.355,26.333,30.355,26.333 s208.333,0,208.333,0s179.333,0,208.333,0s30.355-26.333,30.355-26.333V418.021c0,0-160.022,114.334-184.022,131 S238.688,568.688,238.688,568.688z"/> | ||
6 | </g> | ||
7 | </svg> | ||
diff --git a/uncompressed/proton-mail/index.js b/uncompressed/proton-mail/index.js new file mode 100644 index 0000000..84b5537 --- /dev/null +++ b/uncompressed/proton-mail/index.js | |||
@@ -0,0 +1,4 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoicHJvdG9uLW1haWwvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file | ||
diff --git a/uncompressed/proton-mail/package.json b/uncompressed/proton-mail/package.json new file mode 100644 index 0000000..bf82335 --- /dev/null +++ b/uncompressed/proton-mail/package.json | |||
@@ -0,0 +1,24 @@ | |||
1 | { | ||
2 | "id": "proton-mail", | ||
3 | "name": "proton-mail", | ||
4 | "version": "1.0.0", | ||
5 | "description": "proton-mail", | ||
6 | "main": "index.js", | ||
7 | "author": "Lukas Reineke <lukas.reineke@protonmail.com>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://mail.protonmail.com/login", | ||
11 | "serviceName": "Proton Mail", | ||
12 | "message": "", | ||
13 | "popup": [], | ||
14 | "hasNotificationSound": false, | ||
15 | "hasIndirectMessages": false, | ||
16 | "hasTeamID": false, | ||
17 | "customURL": false, | ||
18 | "hostedOnly": false, | ||
19 | "webviewOptions": { | ||
20 | "disablewebsecurity": "" | ||
21 | }, | ||
22 | "openDevTools": false | ||
23 | } | ||
24 | } | ||
diff --git a/uncompressed/proton-mail/webview.js b/uncompressed/proton-mail/webview.js new file mode 100644 index 0000000..90ca648 --- /dev/null +++ b/uncompressed/proton-mail/webview.js | |||
@@ -0,0 +1,10 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | function getMessages() { | ||
5 | const count = document.querySelector('.navigationItem-counter').innerText; | ||
6 | Franz.setBadge(count ? count.substring(1, count.length - 1) : 0); | ||
7 | } | ||
8 | Franz.loop(getMessages); | ||
9 | }; | ||
10 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb3Rvbi1tYWlsL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvciIsImlubmVyVGV4dCIsInNldEJhZGdlIiwic3Vic3RyaW5nIiwibGVuZ3RoIiwibG9vcCJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBUztBQUN0QixhQUFTQyxXQUFULEdBQXVCO0FBQ25CLGNBQU1DLFFBQVFDLFNBQVNDLGFBQVQsQ0FBdUIseUJBQXZCLEVBQWtEQyxTQUFoRTtBQUNBTCxjQUFNTSxRQUFOLENBQWVKLFFBQVFBLE1BQU1LLFNBQU4sQ0FBZ0IsQ0FBaEIsRUFBbUJMLE1BQU1NLE1BQU4sR0FBZSxDQUFsQyxDQUFSLEdBQStDLENBQTlEO0FBQ0g7QUFDRFIsVUFBTVMsSUFBTixDQUFXUixXQUFYO0FBQ0gsQ0FORCIsImZpbGUiOiJwcm90b24tbWFpbC93ZWJ2aWV3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiB7XG4gICAgZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgICAgIGNvbnN0IGNvdW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcignLm5hdmlnYXRpb25JdGVtLWNvdW50ZXInKS5pbm5lclRleHRcbiAgICAgICAgRnJhbnouc2V0QmFkZ2UoY291bnQgPyBjb3VudC5zdWJzdHJpbmcoMSwgY291bnQubGVuZ3RoIC0gMSkgOiAwKVxuICAgIH1cbiAgICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKVxufVxuIl19 \ No newline at end of file | ||