diff options
Diffstat (limited to 'recipes/gotomeeting')
-rw-r--r-- | recipes/gotomeeting/README.md | 3 | ||||
-rw-r--r-- | recipes/gotomeeting/icon.png | bin | 0 -> 39639 bytes | |||
-rw-r--r-- | recipes/gotomeeting/icon.svg | 25 | ||||
-rw-r--r-- | recipes/gotomeeting/index.js | 8 | ||||
-rw-r--r-- | recipes/gotomeeting/package.json | 14 | ||||
-rw-r--r-- | recipes/gotomeeting/service.css | 3 | ||||
-rw-r--r-- | recipes/gotomeeting/webview.js | 10 |
7 files changed, 63 insertions, 0 deletions
diff --git a/recipes/gotomeeting/README.md b/recipes/gotomeeting/README.md new file mode 100644 index 0000000..7200ab4 --- /dev/null +++ b/recipes/gotomeeting/README.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # Gotomeeting for Ferdi | ||
2 | This is my personnal Ferdi recipe for Gotomeeting | ||
3 | |||
diff --git a/recipes/gotomeeting/icon.png b/recipes/gotomeeting/icon.png new file mode 100644 index 0000000..1e0c1cf --- /dev/null +++ b/recipes/gotomeeting/icon.png | |||
Binary files differ | |||
diff --git a/recipes/gotomeeting/icon.svg b/recipes/gotomeeting/icon.svg new file mode 100644 index 0000000..84870bc --- /dev/null +++ b/recipes/gotomeeting/icon.svg | |||
@@ -0,0 +1,25 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Generator: Adobe Illustrator 22.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | ||
3 | <svg version="1.1" | ||
4 | id="Layer_1" inkscape:version="0.92.4 (5da689c313, 2019-01-14)" sodipodi:docname="icon.svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:svg="http://www.w3.org/2000/svg" | ||
5 | xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 280 280" | ||
6 | style="enable-background:new 0 0 280 280;" xml:space="preserve"> | ||
7 | <style type="text/css"> | ||
8 | .st0{fill:#FF9800;} | ||
9 | </style> | ||
10 | <sodipodi:namedview bordercolor="#666666" borderopacity="1" gridtolerance="10" guidetolerance="10" id="namedview889" inkscape:current-layer="" inkscape:cx="140" inkscape:cy="90" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-height="982" inkscape:window-maximized="0" inkscape:window-width="1278" inkscape:window-x="0" inkscape:window-y="20" inkscape:zoom="2.4" objecttolerance="10" pagecolor="#ffffff" showgrid="false"> | ||
11 | </sodipodi:namedview> | ||
12 | <g id="logo" transform="matrix(1.6505322,0,0,1.5731258,-88.105336,-10.096218)"> | ||
13 | <path id="path885" inkscape:connector-curvature="0" class="st0" d="M207.2,108.7c-7.8-4.3-18.1-4.3-25.6,1.1c-1.4,1.4-3.6,1.4-5,0 | ||
14 | l-23.1-13.5c0,0.7-0.4,0-0.4,0c0-0.7,0.4-0.7,0.4-0.7L176.7,82c1.4-0.7,3.6-0.7,5,0.7c7.5,5.3,17.8,5.7,25.6,0.4 | ||
15 | c10.7-6.4,14.2-19.6,8.5-30.9c-5.3-9.2-16.7-13.5-27-10.7c-10.3,3.2-17.4,13.2-16.7,23.8c0.4,1.8-0.7,3.6-2.5,5l-23.1,13.5 | ||
16 | c-0.4-0.7-0.4-0.7-0.7-0.7h-0.4V56.4c0-1.4,1.1-3.2,2.8-4.3c10-4.3,15.6-15.3,13.2-26c-2.5-10.7-11.7-18.8-22.8-18.8 | ||
17 | c-11.4,0-20.6,8.2-23.1,18.8s3.2,21.7,13.2,26c1.8,1.1,2.8,2.8,2.8,4.6v26.7c0-0.4-0.4-0.4-0.4-0.4h-0.7l-23.1-13.5 | ||
18 | c-1.8-0.7-2.8-2.5-2.5-4.3c1.1-10.7-6-21-16.4-24.5c-10.7-3.2-22,1.8-27.4,11c-5.7,10-3.6,22,4.6,29.5c8.2,7.1,20.6,7.1,29.5,1.4 | ||
19 | c1.4-1.4,3.6-1.4,5-0.7l23.1,13.5c0,0,0.4,0,0.4,0.7l-0.4,0.7l-23.1,13.5c-1.4,0.7-3.6,0.7-5-0.7c-7.5-5.3-17.8-5.3-25.6-1.1 | ||
20 | c-10.7,6.4-14.2,20.3-8.5,31.3c5.3,8.9,16.7,13.9,27,10.7c10.3-3.6,17.4-12.8,16.7-23.5c-0.4-1.8,0.7-4.3,2.5-5l23.1-13.5h0.7 | ||
21 | c0,0,0.4,0,0.4,0.7v26.7c0,1.8-1.1,3.6-2.8,3.9c-10,5-15.6,15.6-13.2,26.3c2.5,10.7,11.7,18.1,22.8,18.1c11.4,0,20.6-7.5,23.1-18.1 | ||
22 | c2.5-10.7-3.2-21.3-13.2-26.3c-1.8-0.4-2.8-2.1-2.8-3.9v-26.7c0-0.7,0.4-0.7,0.4-0.7h0.7l23.1,13.5c1.8,0.7,2.8,3.2,2.5,5 | ||
23 | c-0.7,10.7,6.4,19.9,16.7,23.5c10.3,3.2,21.7-1.8,27-10.7C221.5,128.9,217.9,115.1,207.2,108.7z"/> | ||
24 | </g> | ||
25 | </svg> | ||
diff --git a/recipes/gotomeeting/index.js b/recipes/gotomeeting/index.js new file mode 100644 index 0000000..0b3f51c --- /dev/null +++ b/recipes/gotomeeting/index.js | |||
@@ -0,0 +1,8 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => class Gotomeeting extends Franz { | ||
4 | overrideUserAgent() { | ||
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | ||
6 | } | ||
7 | |||
8 | }; | ||
diff --git a/recipes/gotomeeting/package.json b/recipes/gotomeeting/package.json new file mode 100644 index 0000000..e60a8c9 --- /dev/null +++ b/recipes/gotomeeting/package.json | |||
@@ -0,0 +1,14 @@ | |||
1 | { | ||
2 | "id": "gotomeeting", | ||
3 | "name": "Go To Meeting", | ||
4 | "version": "0.2.1", | ||
5 | "description": "GoToMeeting App", | ||
6 | "main": "index.js", | ||
7 | "repository":"https://github.com/tristanplouz/ferdi-recipe-gotomeeting.git", | ||
8 | "author": "Tristan D", | ||
9 | "license": "MIT", | ||
10 | "config": { | ||
11 | "serviceURL": "https://app.gotomeeting.com/home.html", | ||
12 | "hasNotificationSound": true | ||
13 | } | ||
14 | } | ||
diff --git a/recipes/gotomeeting/service.css b/recipes/gotomeeting/service.css new file mode 100644 index 0000000..d33e7ea --- /dev/null +++ b/recipes/gotomeeting/service.css | |||
@@ -0,0 +1,3 @@ | |||
1 | #footer { | ||
2 | |||
3 | } | ||
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js new file mode 100644 index 0000000..1cd2168 --- /dev/null +++ b/recipes/gotomeeting/webview.js | |||
@@ -0,0 +1,10 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | const path = require('path'); | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(path.join(__dirname, 'service.css')); | ||
7 | if(document.location.href.match("after")){ | ||
8 | document.location.href="https://app.gotomeeting.com/home.html"; | ||
9 | } | ||
10 | }; | ||