diff options
Diffstat (limited to 'recipes/gotomeeting')
-rw-r--r-- | recipes/gotomeeting/index.js | 3 | ||||
-rw-r--r-- | recipes/gotomeeting/webview.js | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/recipes/gotomeeting/index.js b/recipes/gotomeeting/index.js index 0b3f51c..d779159 100644 --- a/recipes/gotomeeting/index.js +++ b/recipes/gotomeeting/index.js | |||
@@ -1,8 +1,5 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => class Gotomeeting extends Franz { | 1 | module.exports = Franz => class Gotomeeting extends Franz { |
4 | overrideUserAgent() { | 2 | overrideUserAgent() { |
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | 3 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); |
6 | } | 4 | } |
7 | |||
8 | }; | 5 | }; |
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js index 1cd2168..6e0b370 100644 --- a/recipes/gotomeeting/webview.js +++ b/recipes/gotomeeting/webview.js | |||
@@ -1,10 +1,8 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | const path = require('path'); | 1 | const path = require('path'); |
4 | 2 | ||
5 | module.exports = Ferdi => { | 3 | module.exports = Ferdi => { |
6 | Ferdi.injectCSS(path.join(__dirname, 'service.css')); | 4 | Ferdi.injectCSS(path.join(__dirname, 'service.css')); |
7 | if(document.location.href.match("after")){ | 5 | if (document.location.href.match('after')) { |
8 | document.location.href="https://app.gotomeeting.com/home.html"; | 6 | document.location.href = 'https://app.gotomeeting.com/home.html'; |
9 | } | 7 | } |
10 | }; | 8 | }; |