Screenshots

Environment:
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
@BinaryShrub can you share your Google Recipe's index.js file? It shoud look something like below
var os = require("os");
module.exports = (Franz) =>
class Gmail extends Franz {
modifyRequestHeaders() {
return [
{
headers: {
"user-agent": window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, "").trim(),
},
requestFilters: {
urls: ["*://*/*"],
},
},
];
}
};
Same issue, with the above index.js file @mahadevans87
I remember this being fixed with a change to index.js, which then had to be switched to this to fix the popup issue. Now I can't log in.
To log in I had to:
module.exports = Franz =>
class Gmail extends Franz {
overrideUserAgent() {
return "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0";
}
};
and reload ferdi
var os = require("os");
module.exports = (Franz) =>
class Gmail extends Franz {
modifyRequestHeaders() {
return [
{
headers: {
"user-agent": window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, "").trim(),
},
requestFilters: {
urls: ["*://*/*"],
},
},
];
}
};
to fix popup blocker
@CptDinosaur what google recipe is this? Gmail?
Yes, gmail. On 5.6.0-beta.2
Can you help me reproduce this? For some reason, I cannot reproduce this in 5.6.0-beta.1
Occurs on a fresh install of 5.6.0-beta.2 with appdata/roaming/ferdi deleted when getting gmail service.
Happens after typing in email.
I'm on Windows 10 x64 build 2004

index.js is the default:
var os = require('os')
module.exports = Franz =>
class Gmail extends Franz {
modifyRequestHeaders() {
return [
{
headers: {
'user-agent': window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g,"").trim(),
},
requestFilters: {
urls: ['*://*/*'],
}
}
]
}
};
Awesome. will take a look later today.
This issue has been automatically marked as stale because it has not had recent activity. Please check if this issue is still relevant and please close it if it's not. This will make sure that our open issues are actually of use and reduce the list of obsolete issues. Thank you for your contributions.
Am still having this issue on the "Fredi Todo" section. Am not able to use Google login for any for the provided Todo services.
My version 5.5.0 on Ubuntu.