diff options
author | 2020-03-21 08:50:51 +0100 | |
---|---|---|
committer | 2020-03-21 08:50:51 +0100 | |
commit | 9c216940241b249b7425002538ebcd3d02e328c7 (patch) | |
tree | 9300f2c9414c93ab8d86bf574e0c91548cf0921e /uncompressed/gmail/webview.js | |
parent | Fix heading hierarchy (diff) | |
download | ferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.tar.gz ferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.tar.zst ferdium-recipes-9c216940241b249b7425002538ebcd3d02e328c7.zip |
#69 Update GMail recipe
Diffstat (limited to 'uncompressed/gmail/webview.js')
-rw-r--r-- | uncompressed/gmail/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uncompressed/gmail/webview.js b/uncompressed/gmail/webview.js index 433d0cf..95d28e7 100644 --- a/uncompressed/gmail/webview.js +++ b/uncompressed/gmail/webview.js | |||
@@ -2,7 +2,7 @@ const path = require("path"); | |||
2 | 2 | ||
3 | module.exports = (Franz) => { | 3 | module.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') { | 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 | ||