aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmail
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/gmail
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/gmail')
-rw-r--r--recipes/gmail/index.js7
-rw-r--r--recipes/gmail/webview.js4
2 files changed, 5 insertions, 6 deletions
diff --git a/recipes/gmail/index.js b/recipes/gmail/index.js
index 309bb87..e1896e4 100644
--- a/recipes/gmail/index.js
+++ b/recipes/gmail/index.js
@@ -1,5 +1,4 @@
1var os = require('os') 1const os = require('os');
2 2
3module.exports = Franz => 3module.exports = Franz => class Gmail extends Franz {
4 class Gmail extends Franz { 4};
5 };
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js
index a2c712e..681b36e 100644
--- a/recipes/gmail/webview.js
+++ b/recipes/gmail/webview.js
@@ -1,8 +1,8 @@
1const path = require("path"); 1const path = require('path');
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 // if the user is on gmail's landing page, go to the login page. 4 // if the user is on gmail's landing page, go to the login page.
5 if (location.hostname == 'www.google.com' && location.href.includes("gmail/about/")) { 5 if (location.hostname == 'www.google.com' && location.href.includes('gmail/about/')) {
6 location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/'; 6 location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/';
7 } 7 }
8 8