diff options
author | 2020-09-22 20:56:48 +0200 | |
---|---|---|
committer | 2020-09-22 19:56:48 +0100 | |
commit | 6f5e4a00588aefdda7a5a1cfe70935870e7e234a (patch) | |
tree | 9e29aa7aa0620a1a4a968ff8739b4b8ba96791a9 /uncompressed/linkedin | |
parent | Updated logos for Outlook/OWA (diff) | |
download | ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.gz ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.zst ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.zip |
Unpack recipes and update recipes icons (#292)
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'uncompressed/linkedin')
-rw-r--r-- | uncompressed/linkedin/README.md | 5 | ||||
-rw-r--r-- | uncompressed/linkedin/icon.png | bin | 37505 -> 0 bytes | |||
-rw-r--r-- | uncompressed/linkedin/icon.svg | 24 | ||||
-rw-r--r-- | uncompressed/linkedin/index.js | 4 | ||||
-rw-r--r-- | uncompressed/linkedin/package.json | 12 | ||||
-rw-r--r-- | uncompressed/linkedin/webview.js | 24 |
6 files changed, 0 insertions, 69 deletions
diff --git a/uncompressed/linkedin/README.md b/uncompressed/linkedin/README.md deleted file mode 100644 index fec1035..0000000 --- a/uncompressed/linkedin/README.md +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # LinkedIn for Franz | ||
2 | This is the official Franz recipe for LinkedIn | ||
3 | |||
4 | ### How to create your own Franz recipes: | ||
5 | * [Read the documentation](https://github.com/meetfranz/plugins) | ||
diff --git a/uncompressed/linkedin/icon.png b/uncompressed/linkedin/icon.png deleted file mode 100644 index c5d88d7..0000000 --- a/uncompressed/linkedin/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/linkedin/icon.svg b/uncompressed/linkedin/icon.svg deleted file mode 100644 index 223cd1a..0000000 --- a/uncompressed/linkedin/icon.svg +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <svg width="80px" height="80px" viewBox="0 0 80 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <!-- Generator: Sketch 39.1 (31720) - http://www.bohemiancoding.com/sketch --> | ||
4 | <title>linkedin</title> | ||
5 | <desc>Created with Sketch.</desc> | ||
6 | <defs> | ||
7 | <polygon id="path-1" points="39.9984444 80 0 80 0 0 39.9984444 0 79.9968889 0 79.9968889 80 39.9984444 80"></polygon> | ||
8 | </defs> | ||
9 | <g id="icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
10 | <g id="linkedin"> | ||
11 | <g id="Page-1"> | ||
12 | <g id="Group-7"> | ||
13 | <mask id="mask-2" fill="white"> | ||
14 | <use xlink:href="#path-1"></use> | ||
15 | </mask> | ||
16 | <g id="Clip-6"></g> | ||
17 | <path d="M74.0798519,0 L5.90355556,0 C2.64725926,0 -0.000148148149,2.5837037 -0.000148148149,5.76888889 L-0.000148148149,74.2281481 C-0.000148148149,77.4133333 2.64725926,80 5.90355556,80 L74.0798519,80 C77.3435556,80 79.9968889,77.4133333 79.9968889,74.2281481 L79.9968889,5.76888889 C79.9968889,2.5837037 77.3435556,0 74.0798519,0" id="Fill-5" fill="#0065A1" mask="url(#mask-2)"></path> | ||
18 | </g> | ||
19 | <path d="M17.7908148,11.0127407 C21.5848889,11.0127407 24.6678519,14.0957037 24.6678519,17.8957037 C24.6678519,21.6927407 21.5848889,24.7757037 17.7908148,24.7757037 C13.9893333,24.7757037 10.9137778,21.6927407 10.9137778,17.8957037 C10.9137778,14.0957037 13.9893333,11.0127407 17.7908148,11.0127407 L17.7908148,11.0127407 Z M11.856,68.1682963 L23.7256296,68.1682963 L23.7256296,29.9905185 L11.856,29.9905185 L11.856,68.1682963 Z" id="Fill-8" fill="#FEFEFE"></path> | ||
20 | <path d="M31.1675556,29.9906667 L42.5482963,29.9906667 L42.5482963,35.2114074 L42.7112593,35.2114074 C44.294963,32.2084444 48.1660741,29.0454815 53.9379259,29.0454815 C65.9527407,29.0454815 68.1705185,36.9491852 68.1705185,47.2291852 L68.1705185,68.1684444 L56.3112593,68.1684444 L56.3112593,49.6025185 C56.3112593,45.1743704 56.2327407,39.4795556 50.1453333,39.4795556 C43.9705185,39.4795556 43.0282963,44.3062222 43.0282963,49.284 L43.0282963,68.1684444 L31.1675556,68.1684444 L31.1675556,29.9906667 Z" id="Fill-10" fill="#FEFEFE"></path> | ||
21 | </g> | ||
22 | </g> | ||
23 | </g> | ||
24 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/linkedin/index.js b/uncompressed/linkedin/index.js deleted file mode 100644 index a858833..0000000 --- a/uncompressed/linkedin/index.js +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | ||
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpbmtlZGluL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoibGlua2VkaW4vaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file | ||
diff --git a/uncompressed/linkedin/package.json b/uncompressed/linkedin/package.json deleted file mode 100644 index 6351978..0000000 --- a/uncompressed/linkedin/package.json +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | { | ||
2 | "id": "linkedin", | ||
3 | "name": "LinkedIn", | ||
4 | "version": "1.0.0", | ||
5 | "description": "LinkedIn", | ||
6 | "main": "index.js", | ||
7 | "author": "Stefan Malzner <stefan@adlk.io>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://www.linkedin.com/messaging" | ||
11 | } | ||
12 | } | ||
diff --git a/uncompressed/linkedin/webview.js b/uncompressed/linkedin/webview.js deleted file mode 100644 index 792fee3..0000000 --- a/uncompressed/linkedin/webview.js +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = Franz => { | ||
4 | const getMessages = function getMessages() { | ||
5 | let count = 0; | ||
6 | |||
7 | if (window.location.pathname.includes('messaging')) { | ||
8 | count = document.querySelectorAll('.msg-conversation-card__unread-count').length; | ||
9 | } else { | ||
10 | const element = document.querySelector('.nav-item--messaging .nav-item__badge-count'); | ||
11 | |||
12 | if (element) { | ||
13 | count = parseInt(element.innerHTML, 10); | ||
14 | } | ||
15 | } | ||
16 | |||
17 | // set Franz badge | ||
18 | Franz.setBadge(count); | ||
19 | }; | ||
20 | |||
21 | // check for new messages every second and update Franz badge | ||
22 | Franz.loop(getMessages); | ||
23 | }; | ||
24 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpbmtlZGluL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJjb3VudCIsIndpbmRvdyIsImxvY2F0aW9uIiwicGF0aG5hbWUiLCJpbmNsdWRlcyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImVsZW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwicGFyc2VJbnQiLCJpbm5lckhUTUwiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekMsUUFBSUMsUUFBUSxDQUFaOztBQUVBLFFBQUlDLE9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