From e4766969beaa2efb605df0a6da72e96722e9c73c Mon Sep 17 00:00:00 2001 From: aj Date: Fri, 21 Feb 2020 12:44:04 -0500 Subject: adding google meet recipe --- uncompressed/Google Meet/README.md | 12 ++++++++ uncompressed/Google Meet/icon.png | Bin 0 -> 94137 bytes uncompressed/Google Meet/icon.svg | 53 ++++++++++++++++++++++++++++++++++ uncompressed/Google Meet/index.js | 8 +++++ uncompressed/Google Meet/package.json | 13 +++++++++ uncompressed/Google Meet/service.css | 5 ++++ uncompressed/Google Meet/webview.js | 43 +++++++++++++++++++++++++++ 7 files changed, 134 insertions(+) create mode 100644 uncompressed/Google Meet/README.md create mode 100644 uncompressed/Google Meet/icon.png create mode 100644 uncompressed/Google Meet/icon.svg create mode 100644 uncompressed/Google Meet/index.js create mode 100644 uncompressed/Google Meet/package.json create mode 100644 uncompressed/Google Meet/service.css create mode 100644 uncompressed/Google Meet/webview.js (limited to 'uncompressed') diff --git a/uncompressed/Google Meet/README.md b/uncompressed/Google Meet/README.md new file mode 100644 index 0000000..150d988 --- /dev/null +++ b/uncompressed/Google Meet/README.md @@ -0,0 +1,12 @@ +# information +Google Meet Recipe for @getferdi 🥳 Download Ferdi at https://getferdi.com/ + +# how to import these recipes to your ferdi +1. Clone this repo to your computer +2. Rename this repo to a simple name like "gmeet" +3. Copy your renamed folder to the following locations (if there are not available you must create it) +* Mac: ~/Library/Application Support/Ferdi/recipes/dev/ +* Windows: %appdata%/Ferdi/recipes/dev/ +* Linux: ~/.config/Ferdi/recipes/dev +4. Reload Ferdi +5. Navigate to your "add service" section in Ferdi and added to yours. diff --git a/uncompressed/Google Meet/icon.png b/uncompressed/Google Meet/icon.png new file mode 100644 index 0000000..12a85fa Binary files /dev/null and b/uncompressed/Google Meet/icon.png differ diff --git a/uncompressed/Google Meet/icon.svg b/uncompressed/Google Meet/icon.svg new file mode 100644 index 0000000..5fc0a19 --- /dev/null +++ b/uncompressed/Google Meet/icon.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uncompressed/Google Meet/index.js b/uncompressed/Google Meet/index.js new file mode 100644 index 0000000..dd10055 --- /dev/null +++ b/uncompressed/Google Meet/index.js @@ -0,0 +1,8 @@ +"use strict"; + +module.exports = Franz => class Messenger extends Franz { + overrideUserAgent() { + return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); + } + +}; \ No newline at end of file diff --git a/uncompressed/Google Meet/package.json b/uncompressed/Google Meet/package.json new file mode 100644 index 0000000..a1c67cb --- /dev/null +++ b/uncompressed/Google Meet/package.json @@ -0,0 +1,13 @@ +{ + "id": "Google Meet", + "name": "Google Meet", + "version": "1.0.1", + "description": "Google Meet", + "main": "index.js", + "author": "Patrick Thoelken ", + "license": "MIT", + "config": { + "serviceURL": "https://meet.google.com", + "hasNotificationSound": true + } +} diff --git a/uncompressed/Google Meet/service.css b/uncompressed/Google Meet/service.css new file mode 100644 index 0000000..b453fd4 --- /dev/null +++ b/uncompressed/Google Meet/service.css @@ -0,0 +1,5 @@ +.app-wrapper-web .app { + width: 100% !important; + height: 100% !important; + top: 0 !important; +} diff --git a/uncompressed/Google Meet/webview.js b/uncompressed/Google Meet/webview.js new file mode 100644 index 0000000..ee00e66 --- /dev/null +++ b/uncompressed/Google Meet/webview.js @@ -0,0 +1,43 @@ +"use strict"; + +const { + remote +} = require('electron'); + +const path = require('path'); + +const webContents = remote.getCurrentWebContents(); +const { + session +} = webContents; + +window.onload = () => { + const title = document.querySelector('.window-title').innerHTML; + + if (title && title.includes('Google Chrome 36+')) { + window.location.reload(); + } +}; + +module.exports = Franz => { + session.flushStorageData(); + session.clearStorageData({ + storages: ['serviceworkers'] + }); + + const getMessages = function getMessages() { + const elements = document.querySelectorAll('.CxUIE, .unread'); + let count = 0; + + for (let i = 0; i < elements.length; i += 1) { + if (elements[i].querySelectorAll('*[data-icon="muted"]').length === 0) { + count += 1; + } + } + + Franz.setBadge(count); + }; + + Franz.injectCSS(path.join(__dirname, 'service.css')); + Franz.loop(getMessages); +}; \ No newline at end of file -- cgit v1.2.3-54-g00ecf From 59fd4afe27bfd0a329e6739e057d6921b8328d8a Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Sat, 22 Feb 2020 02:56:03 +0100 Subject: Review Custom Website URL validation --- all.json | 2 +- franz-custom-website.tar.gz | Bin 2023 -> 5541 bytes hackmd.tar.gz | Bin 9774 -> 0 bytes uncompressed/franz-custom-website/index.js | 7 ++----- uncompressed/franz-custom-website/package.json | 2 +- 5 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 hackmd.tar.gz (limited to 'uncompressed') diff --git a/all.json b/all.json index 4bb3cc5..4445d59 100644 --- a/all.json +++ b/all.json @@ -37,7 +37,7 @@ "featured": false, "id": "franz-custom-website", "name": "Custom Website", - "version": "1.0.1", + "version": "1.0.2", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/franz-custom-website/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/franz-custom-website/icon.svg" diff --git a/franz-custom-website.tar.gz b/franz-custom-website.tar.gz index cbcb557..a2d7879 100644 Binary files a/franz-custom-website.tar.gz and b/franz-custom-website.tar.gz differ diff --git a/hackmd.tar.gz b/hackmd.tar.gz deleted file mode 100644 index af8b559..0000000 Binary files a/hackmd.tar.gz and /dev/null differ diff --git a/uncompressed/franz-custom-website/index.js b/uncompressed/franz-custom-website/index.js index 47da782..86c3227 100644 --- a/uncompressed/franz-custom-website/index.js +++ b/uncompressed/franz-custom-website/index.js @@ -4,12 +4,9 @@ module.exports = Franz => class CustomWebsite extends Franz { async validateUrl(url) { try { const resp = await window.fetch(url, { - method: 'GET', - headers: { - 'Content-Type': 'application/json' - } + method: 'GET' }); - return resp.status.toString().startsWith('2') || resp.status.toString().startsWith('3'); + return resp.status.toString().startsWith('2'); } catch (err) { console.error(err); } diff --git a/uncompressed/franz-custom-website/package.json b/uncompressed/franz-custom-website/package.json index 6c40697..457a8a1 100644 --- a/uncompressed/franz-custom-website/package.json +++ b/uncompressed/franz-custom-website/package.json @@ -1,7 +1,7 @@ { "id": "franz-custom-website", "name": "Custom Website", - "version": "1.0.1", + "version": "1.0.2", "description": "Add a custom website to Franz", "main": "index.js", "author": "Stefan Malzner ", -- cgit v1.2.3-54-g00ecf From c33d2493deda85ee1ad20b2ca7f366e0345fe956 Mon Sep 17 00:00:00 2001 From: aj <1295659+n-xlkt@users.noreply.github.com> Date: Fri, 21 Feb 2020 21:24:40 -0500 Subject: Update index.js --- uncompressed/Google Meet/index.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'uncompressed') diff --git a/uncompressed/Google Meet/index.js b/uncompressed/Google Meet/index.js index dd10055..97c6a73 100644 --- a/uncompressed/Google Meet/index.js +++ b/uncompressed/Google Meet/index.js @@ -1,8 +1,6 @@ -"use strict"; - -module.exports = Franz => class Messenger extends Franz { - overrideUserAgent() { - return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); - } - -}; \ No newline at end of file +module.exports = Franz => + class Gmail extends Franz { + overrideUserAgent() { + return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; + } + }; -- cgit v1.2.3-54-g00ecf From f7422c3a9a02553991e9b96d03b76aed1173e71c Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Sat, 22 Feb 2020 21:34:12 +0100 Subject: Validate all https responses different from 4xx --- franz-custom-website.tar.gz | Bin 5541 -> 5558 bytes uncompressed/franz-custom-website/index.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'uncompressed') diff --git a/franz-custom-website.tar.gz b/franz-custom-website.tar.gz index a2d7879..68153e2 100644 Binary files a/franz-custom-website.tar.gz and b/franz-custom-website.tar.gz differ diff --git a/uncompressed/franz-custom-website/index.js b/uncompressed/franz-custom-website/index.js index 86c3227..62f4218 100644 --- a/uncompressed/franz-custom-website/index.js +++ b/uncompressed/franz-custom-website/index.js @@ -6,7 +6,7 @@ module.exports = Franz => class CustomWebsite extends Franz { const resp = await window.fetch(url, { method: 'GET' }); - return resp.status.toString().startsWith('2'); + return !resp.status.toString().startsWith('4'); } catch (err) { console.error(err); } -- cgit v1.2.3-54-g00ecf From 08075d6250e5817641b894f62a9a85282b31d1f8 Mon Sep 17 00:00:00 2001 From: aj Date: Sun, 23 Feb 2020 15:15:17 -0500 Subject: repackaging --- Google Meet.tar.gz | Bin 94069 -> 108378 bytes all.json | 2 +- uncompressed/Google Meet/package.json | 2 +- uncompressed/Google Meet/webview.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) (limited to 'uncompressed') diff --git a/Google Meet.tar.gz b/Google Meet.tar.gz index 01972c5..0b3e4d7 100644 Binary files a/Google Meet.tar.gz and b/Google Meet.tar.gz differ diff --git a/all.json b/all.json index 5b3ba85..c0e05c0 100644 --- a/all.json +++ b/all.json @@ -982,7 +982,7 @@ "author": "Patrick Thoelken ", "featured": false, "id": "Google Meet", - "name": "Google Meet", + "name": "googlemeet", "version": "1.0.1", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/Google Meet/icon.png", diff --git a/uncompressed/Google Meet/package.json b/uncompressed/Google Meet/package.json index a1c67cb..0c3a5fe 100644 --- a/uncompressed/Google Meet/package.json +++ b/uncompressed/Google Meet/package.json @@ -1,6 +1,6 @@ { "id": "Google Meet", - "name": "Google Meet", + "name": "googlemeet", "version": "1.0.1", "description": "Google Meet", "main": "index.js", diff --git a/uncompressed/Google Meet/webview.js b/uncompressed/Google Meet/webview.js index ee00e66..8e91418 100644 --- a/uncompressed/Google Meet/webview.js +++ b/uncompressed/Google Meet/webview.js @@ -40,4 +40,4 @@ module.exports = Franz => { Franz.injectCSS(path.join(__dirname, 'service.css')); Franz.loop(getMessages); -}; \ No newline at end of file +}; -- cgit v1.2.3-54-g00ecf From 2f741dd468082ddc01834912dd0cc88fb6a15d3d Mon Sep 17 00:00:00 2001 From: Antoine Aumjaud Date: Fri, 28 Feb 2020 21:10:01 +0100 Subject: Add GitHub Entreprise --- all.json | 11 +++++++++++ github_entreprise.tar.gz | Bin 0 -> 16494 bytes uncompressed/github_entreprise/LICENSE | 21 +++++++++++++++++++++ uncompressed/github_entreprise/README.md | 5 +++++ uncompressed/github_entreprise/icon.png | Bin 0 -> 14107 bytes uncompressed/github_entreprise/icon.svg | 3 +++ uncompressed/github_entreprise/index.js | 21 +++++++++++++++++++++ uncompressed/github_entreprise/package.json | 13 +++++++++++++ uncompressed/github_entreprise/webview.js | 1 + 9 files changed, 75 insertions(+) create mode 100644 github_entreprise.tar.gz create mode 100644 uncompressed/github_entreprise/LICENSE create mode 100644 uncompressed/github_entreprise/README.md create mode 100644 uncompressed/github_entreprise/icon.png create mode 100644 uncompressed/github_entreprise/icon.svg create mode 100644 uncompressed/github_entreprise/index.js create mode 100644 uncompressed/github_entreprise/package.json create mode 100644 uncompressed/github_entreprise/webview.js (limited to 'uncompressed') diff --git a/all.json b/all.json index 247a88a..11cba42 100644 --- a/all.json +++ b/all.json @@ -988,5 +988,16 @@ "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/Google Meet/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/Google Meet/icon.svg" } + }, + { + "author": "Antoine Aumjaud", + "featured": false, + "id": "github_entreprise", + "name": "GitHub Entreprise", + "version": "1.0.0", + "icons": { + "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/github_entreprise/icon.png", + "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/github_entreprise/icon.svg" + } } ] diff --git a/github_entreprise.tar.gz b/github_entreprise.tar.gz new file mode 100644 index 0000000..579b773 Binary files /dev/null and b/github_entreprise.tar.gz differ diff --git a/uncompressed/github_entreprise/LICENSE b/uncompressed/github_entreprise/LICENSE new file mode 100644 index 0000000..33926c0 --- /dev/null +++ b/uncompressed/github_entreprise/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Sudhir Ganesan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/uncompressed/github_entreprise/README.md b/uncompressed/github_entreprise/README.md new file mode 100644 index 0000000..101de69 --- /dev/null +++ b/uncompressed/github_entreprise/README.md @@ -0,0 +1,5 @@ +# GitHub Entreprise Franz Plugin + +Follow instructions [here](https://github.com/meetfranz/plugins/blob/master/docs/integration.md) for installation of this plugin. + +Inspired by _GitHub Franz Plugin_: https://github.com/redsox2002/recipe-franz-github diff --git a/uncompressed/github_entreprise/icon.png b/uncompressed/github_entreprise/icon.png new file mode 100644 index 0000000..200ce79 Binary files /dev/null and b/uncompressed/github_entreprise/icon.png differ diff --git a/uncompressed/github_entreprise/icon.svg b/uncompressed/github_entreprise/icon.svg new file mode 100644 index 0000000..146f66f --- /dev/null +++ b/uncompressed/github_entreprise/icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/uncompressed/github_entreprise/index.js b/uncompressed/github_entreprise/index.js new file mode 100644 index 0000000..76901cb --- /dev/null +++ b/uncompressed/github_entreprise/index.js @@ -0,0 +1,21 @@ +"use strict"; + +module.exports = Franz => class GitHubEntreprise extends Franz { + async validateUrl(url) { + try { + const resp = await window.fetch(`${url}/api/v3`, { + method: 'GET', + headers: { + 'Content-Type': 'application/json', + 'Accept': 'application/vnd.github.v3+json' + }, + }); + //doc: https://developer.github.com/enterprise/2.17/v3/#current-version + return resp.status.toString().startsWith('2'); + } catch (err) { + console.error(err); + } + + return false; + } +}; \ No newline at end of file diff --git a/uncompressed/github_entreprise/package.json b/uncompressed/github_entreprise/package.json new file mode 100644 index 0000000..245d655 --- /dev/null +++ b/uncompressed/github_entreprise/package.json @@ -0,0 +1,13 @@ +{ + "id": "github_entreprise", + "name": "GitHub Entreprise", + "version": "1.0.0", + "description": "GitHub Entreprise", + "main": "index.js", + "author": "Antoine Aumjaud", + "license": "MIT", + "config": { + "serviceURL": "https://github.mycompany.com/", + "hasCustomUrl": true + } +} diff --git a/uncompressed/github_entreprise/webview.js b/uncompressed/github_entreprise/webview.js new file mode 100644 index 0000000..3918c74 --- /dev/null +++ b/uncompressed/github_entreprise/webview.js @@ -0,0 +1 @@ +"use strict"; -- cgit v1.2.3-54-g00ecf From 65ff976ebb463105ff409b93938cd673c797292c Mon Sep 17 00:00:00 2001 From: Amine Mouafik Date: Fri, 28 Feb 2020 22:52:30 +0100 Subject: Remove discountinued Google services (Allo/Inbox) #49 #50 --- all.json | 22 ---------------------- gmailinbox.tar.gz | Bin 268312 -> 0 bytes googleallo.tar.gz | Bin 29252 -> 0 bytes uncompressed/gmailinbox/README.md | 5 ----- uncompressed/gmailinbox/icon.png | Bin 263932 -> 0 bytes uncompressed/gmailinbox/icon.svg | 7 ------- uncompressed/gmailinbox/index.js | 5 ----- uncompressed/gmailinbox/package.json | 12 ------------ uncompressed/gmailinbox/webview.js | 18 ------------------ uncompressed/googleallo/LICENSE | 7 ------- uncompressed/googleallo/README.md | 19 ------------------- uncompressed/googleallo/icon.png | Bin 25423 -> 0 bytes uncompressed/googleallo/icon.svg | 35 ----------------------------------- uncompressed/googleallo/index.js | 6 ------ uncompressed/googleallo/package.json | 13 ------------- uncompressed/googleallo/webview.js | 19 ------------------- 16 files changed, 168 deletions(-) delete mode 100644 gmailinbox.tar.gz delete mode 100644 googleallo.tar.gz delete mode 100644 uncompressed/gmailinbox/README.md delete mode 100644 uncompressed/gmailinbox/icon.png delete mode 100644 uncompressed/gmailinbox/icon.svg delete mode 100644 uncompressed/gmailinbox/index.js delete mode 100644 uncompressed/gmailinbox/package.json delete mode 100644 uncompressed/gmailinbox/webview.js delete mode 100644 uncompressed/googleallo/LICENSE delete mode 100644 uncompressed/googleallo/README.md delete mode 100644 uncompressed/googleallo/icon.png delete mode 100644 uncompressed/googleallo/icon.svg delete mode 100644 uncompressed/googleallo/index.js delete mode 100644 uncompressed/googleallo/package.json delete mode 100644 uncompressed/googleallo/webview.js (limited to 'uncompressed') diff --git a/all.json b/all.json index 11cba42..7c9bec5 100644 --- a/all.json +++ b/all.json @@ -142,17 +142,6 @@ "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmail/icon.svg" } }, - { - "author": "SiloCityLabs LLC", - "featured": false, - "id": "googleallo", - "name": "Google Allo", - "version": "1.0.2", - "icons": { - "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googleallo/icon.png", - "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/googleallo/icon.svg" - } - }, { "author": "Rico Herwig ", "featured": false, @@ -263,17 +252,6 @@ "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/idobata/icon.svg" } }, - { - "author": "Stefan Malzner ", - "featured": false, - "id": "gmailinbox", - "name": "Inbox by Gmail", - "version": "1.0.1", - "icons": { - "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmailinbox/icon.png", - "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/gmailinbox/icon.svg" - } - }, { "author": "Alberto Murillo ", "featured": false, diff --git a/gmailinbox.tar.gz b/gmailinbox.tar.gz deleted file mode 100644 index 6f11a84..0000000 Binary files a/gmailinbox.tar.gz and /dev/null differ diff --git a/googleallo.tar.gz b/googleallo.tar.gz deleted file mode 100644 index dff4e63..0000000 Binary files a/googleallo.tar.gz and /dev/null differ diff --git a/uncompressed/gmailinbox/README.md b/uncompressed/gmailinbox/README.md deleted file mode 100644 index 3bbf6be..0000000 --- a/uncompressed/gmailinbox/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Inbox by Gmail for Franz -This is the official Franz recipe for Inbox by Gmail - -### How to create your own Franz recipes: -* [Read the documentation](https://github.com/meetfranz/plugins) diff --git a/uncompressed/gmailinbox/icon.png b/uncompressed/gmailinbox/icon.png deleted file mode 100644 index 2651bf5..0000000 Binary files a/uncompressed/gmailinbox/icon.png and /dev/null differ diff --git a/uncompressed/gmailinbox/icon.svg b/uncompressed/gmailinbox/icon.svg deleted file mode 100644 index 35106f3..0000000 --- a/uncompressed/gmailinbox/icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - Layer 1 - - - \ No newline at end of file diff --git a/uncompressed/gmailinbox/index.js b/uncompressed/gmailinbox/index.js deleted file mode 100644 index a691f8e..0000000 --- a/uncompressed/gmailinbox/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -// just pass through Franz -module.exports = Franz => Franz; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdtYWlsaW5ib3gvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBO0FBQ0FBLE9BQU9DLE9BQVAsR0FBaUJDLFNBQVNBLEtBQTFCIiwiZmlsZSI6ImdtYWlsaW5ib3gvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBqdXN0IHBhc3MgdGhyb3VnaCBGcmFuelxubW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file diff --git a/uncompressed/gmailinbox/package.json b/uncompressed/gmailinbox/package.json deleted file mode 100644 index cbb1897..0000000 --- a/uncompressed/gmailinbox/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": "gmailinbox", - "name": "Inbox by Gmail", - "version": "1.0.1", - "description": "Inbox by Gmail", - "main": "index.js", - "author": "Stefan Malzner ", - "license": "MIT", - "config": { - "serviceURL": "https://inbox.google.com/" - } -} diff --git a/uncompressed/gmailinbox/webview.js b/uncompressed/gmailinbox/webview.js deleted file mode 100644 index efaebb3..0000000 --- a/uncompressed/gmailinbox/webview.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -module.exports = Franz => { - const getMessages = function getMessages() { - let count = 0; - - if (document.querySelectorAll('.DsPmj').length > 0) { - count = document.querySelectorAll('.DsPmj')[0].querySelectorAll('div.G3').length; - } - - // set Franz badge - Franz.setBadge(count); - }; - - // check for new messages every second and update Franz badge - Franz.loop(getMessages); -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdtYWlsaW5ib3gvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImNvdW50IiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxPQUFPQyxPQUFQLEdBQWtCQyxLQUFELElBQVc7QUFDMUIsUUFBTUMsY0FBYyxTQUFTQSxXQUFULEdBQXVCO0FBQ3pDLFFBQUlDLFFBQVEsQ0FBWjs7QUFFQSxRQUFJQyxTQUFTQyxnQkFBVCxDQUEwQixRQUExQixFQUFvQ0MsTUFBcEMsR0FBNkMsQ0FBakQsRUFBb0Q7QUFDbERILGNBQVFDLFNBQVNDLGdCQUFULENBQTBCLFFBQTFCLEVBQW9DLENBQXBDLEVBQXVDQSxnQkFBdkMsQ0FBd0QsUUFBeEQsRUFBa0VDLE1BQTFFO0FBQ0Q7O0FBRUQ7QUFDQUwsVUFBTU0sUUFBTixDQUFlSixLQUFmO0FBQ0QsR0FURDs7QUFXQTtBQUNBRixRQUFNTyxJQUFOLENBQVdOLFdBQVg7QUFDRCxDQWREIiwiZmlsZSI6ImdtYWlsaW5ib3gvd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgbGV0IGNvdW50ID0gMDtcblxuICAgIGlmIChkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKCcuRHNQbWonKS5sZW5ndGggPiAwKSB7XG4gICAgICBjb3VudCA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJy5Ec1BtaicpWzBdLnF1ZXJ5U2VsZWN0b3JBbGwoJ2Rpdi5HMycpLmxlbmd0aDtcbiAgICB9XG5cbiAgICAvLyBzZXQgRnJhbnogYmFkZ2VcbiAgICBGcmFuei5zZXRCYWRnZShjb3VudCk7XG4gIH07XG5cbiAgLy8gY2hlY2sgZm9yIG5ldyBtZXNzYWdlcyBldmVyeSBzZWNvbmQgYW5kIHVwZGF0ZSBGcmFueiBiYWRnZVxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn07XG4iXX0= \ No newline at end of file diff --git a/uncompressed/googleallo/LICENSE b/uncompressed/googleallo/LICENSE deleted file mode 100644 index 8d55d49..0000000 --- a/uncompressed/googleallo/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2017 SiloCityLabs LLC - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/uncompressed/googleallo/README.md b/uncompressed/googleallo/README.md deleted file mode 100644 index e476e02..0000000 --- a/uncompressed/googleallo/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Google Allo Franz Plugin - -## Requirements -This recipe only works for Franz 5.X, get it now at http://meetfranz.com - -## Installation - -1. Clone/download the folder `recipe-franz-googleallo`. - -2. Open the Franz Recipe folder on your machine: - * Mac: `~/Library/Application Support/Franz/recipes/` - * Windows: `%appdata%/Franz/recipes/` - * Linux: `~/.config/Franz/recipes/` - -3. Create a `dev` folder if you have not already done so - -3. Unzip and copy the `recipe-franz-googleallo` folder into the recipes dev directory - -4. Restart Franz diff --git a/uncompressed/googleallo/icon.png b/uncompressed/googleallo/icon.png deleted file mode 100644 index 9f8a373..0000000 Binary files a/uncompressed/googleallo/icon.png and /dev/null differ diff --git a/uncompressed/googleallo/icon.svg b/uncompressed/googleallo/icon.svg deleted file mode 100644 index 3117f5c..0000000 --- a/uncompressed/googleallo/icon.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/uncompressed/googleallo/index.js b/uncompressed/googleallo/index.js deleted file mode 100644 index 63f45cb..0000000 --- a/uncompressed/googleallo/index.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = Franz => - class googleallo extends Franz { - overrideUserAgent() { - return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; - } - }; diff --git a/uncompressed/googleallo/package.json b/uncompressed/googleallo/package.json deleted file mode 100644 index 466836c..0000000 --- a/uncompressed/googleallo/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "id": "googleallo", - "name": "Google Allo", - "version": "1.0.2", - "description": "Google Allo", - "main": "index.js", - "author": "SiloCityLabs LLC", - "license": "MIT", - "config": { - "serviceURL": "https://allo.google.com/web", - "hasNotificationSound": true - } -} diff --git a/uncompressed/googleallo/webview.js b/uncompressed/googleallo/webview.js deleted file mode 100644 index dbb0fa3..0000000 --- a/uncompressed/googleallo/webview.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -module.exports = Franz => { - const getMessages = function getMessages() { - let count = 0; - - const elements = document.querySelectorAll('.unreadCount'); - for (let i = 0; i < elements.length; i += 1) { - if (parseInt(elements[i].innerHTML, 10) !== 0) { - count += 1; - } - } - - Franz.setBadge(count); - }; - - Franz.loop(getMessages); -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdvb2dsZWFsbG8vd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImNvdW50IiwiZWxlbWVudHMiLCJkb2N1bWVudCIsInF1ZXJ5U2VsZWN0b3JBbGwiLCJpIiwibGVuZ3RoIiwicGFyc2VJbnQiLCJpbm5lckhUTUwiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekMsUUFBSUMsUUFBUSxDQUFaOztBQUVBLFVBQU1DLFdBQVdDLFNBQVNDLGdCQUFULENBQTBCLGNBQTFCLENBQWpCO0FBQ0EsU0FBSyxJQUFJQyxJQUFJLENBQWIsRUFBZ0JBLElBQUlILFNBQVNJLE1BQTdCLEVBQXFDRCxLQUFLLENBQTFDLEVBQTZDO0FBQzNDLFVBQUlFLFNBQVNMLFNBQVNHLENBQVQsRUFBWUcsU0FBckIsRUFBZ0MsRUFBaEMsTUFBd0MsQ0FBNUMsRUFBK0M7QUFDN0NQLGlCQUFTLENBQVQ7QUFDRDtBQUNGOztBQUVERixVQUFNVSxRQUFOLENBQWVSLEtBQWY7QUFDRCxHQVhEOztBQWFBRixRQUFNVyxJQUFOLENBQVdWLFdBQVg7QUFDRCxDQWZEIiwiZmlsZSI6Imdvb2dsZWFsbG8vd2Vidmlldy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gKEZyYW56KSA9PiB7XG4gIGNvbnN0IGdldE1lc3NhZ2VzID0gZnVuY3Rpb24gZ2V0TWVzc2FnZXMoKSB7XG4gICAgbGV0IGNvdW50ID0gMDtcblxuICAgIGNvbnN0IGVsZW1lbnRzID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbCgnLnVucmVhZENvdW50Jyk7XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCBlbGVtZW50cy5sZW5ndGg7IGkgKz0gMSkge1xuICAgICAgaWYgKHBhcnNlSW50KGVsZW1lbnRzW2ldLmlubmVySFRNTCwgMTApICE9PSAwKSB7XG4gICAgICAgIGNvdW50ICs9IDE7XG4gICAgICB9XG4gICAgfVxuXG4gICAgRnJhbnouc2V0QmFkZ2UoY291bnQpO1xuICB9O1xuXG4gIEZyYW56Lmxvb3AoZ2V0TWVzc2FnZXMpO1xufTtcbiJdfQ== \ No newline at end of file -- cgit v1.2.3-54-g00ecf