aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gotomeeting
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/gotomeeting
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-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.js3
-rw-r--r--recipes/gotomeeting/webview.js8
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
3module.exports = Franz => class Gotomeeting extends Franz { 1module.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
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Ferdi => { 3module.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};