diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/gotomeeting | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
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 | }; |