aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2019-11-26 16:46:25 +0100
committerLibravatar GitHub <noreply@github.com>2019-11-26 16:46:25 +0100
commit03d0c4b5a6138ad04bfed412b49e52f030107d52 (patch)
tree000b7649844cdf5387e2bac1cccf674b6022426f
parentMerge branch 'master' of https://github.com/getferdi/recipes (diff)
parentUpdated Gmail recipe (diff)
downloadferdium-recipes-03d0c4b5a6138ad04bfed412b49e52f030107d52.tar.gz
ferdium-recipes-03d0c4b5a6138ad04bfed412b49e52f030107d52.tar.zst
ferdium-recipes-03d0c4b5a6138ad04bfed412b49e52f030107d52.zip
Merge pull request #9 from probablykasper/master
Updated Gmail recipe, fixes users unable to login
-rw-r--r--gmail.tar.gzbin65356 -> 65326 bytes
-rw-r--r--uncompressed/gmail/README.md4
-rw-r--r--uncompressed/gmail/webview.js5
3 files changed, 7 insertions, 2 deletions
diff --git a/gmail.tar.gz b/gmail.tar.gz
index 13eb348..40feace 100644
--- a/gmail.tar.gz
+++ b/gmail.tar.gz
Binary files differ
diff --git a/uncompressed/gmail/README.md b/uncompressed/gmail/README.md
index 907f13c..1dcd235 100644
--- a/uncompressed/gmail/README.md
+++ b/uncompressed/gmail/README.md
@@ -1,5 +1,5 @@
1# Gmail for Franz 1# Gmail for Franz/Ferdi
2This is the official Franz recipe for Gmail 2This is an edited version of the official Franz recipe for Gmail
3 3
4### How to create your own Franz recipes: 4### How to create your own Franz recipes:
5* [Read the documentation](https://github.com/meetfranz/plugins) 5* [Read the documentation](https://github.com/meetfranz/plugins)
diff --git a/uncompressed/gmail/webview.js b/uncompressed/gmail/webview.js
index febf64b..25727a4 100644
--- a/uncompressed/gmail/webview.js
+++ b/uncompressed/gmail/webview.js
@@ -1,6 +1,11 @@
1import path from 'path'; 1import path from 'path';
2 2
3module.exports = (Franz) => { 3module.exports = (Franz) => {
4 // if the user is on gmail's landing page, go to the login page.
5 if (location.hostname == 'www.google.com') {
6 location.href = 'https://accounts.google.com/AccountChooser?service=mail&continue=https://mail.google.com/mail/';
7 }
8
4 const getMessages = function getMessages() { 9 const getMessages = function getMessages() {
5 let count = 0; 10 let count = 0;
6 11