Comments (11)
Again for reference what Qutebrowser is doing to workaround.
I'd even go as far as not having user settings for these specific sites and just change the user agent the same way. These quirks are nasty. But on the other hand a browser not supporting Google out of the box is an issue.
from vieb.
I have recently added a firefoxmode
option, which among other navigator changes also updates the useragent. One of the possible uses of this option is to attempt to trick Google to allow your login attempt. If you can't wait till the next release to login to your Google account with Vieb, you can build it from source and let me know if the firefoxmode
works as expected. As said before, the mode is NOT enabled by default, but you can of course change the settings to your liking with :set
or the viebrc file. Whenever the next Vieb release will happen, the firefoxmode
will be one of the new features included. As a result of adding the only known workaround for Google's login policy, this issue will be closed. If you still experience problems with your Google account while using the firefoxmode
, you will need to reach out to Google.
from vieb.
What part of the useragent seems non-standard to you if I may ask?
I don't understand why everyone assumes it's the useragent without checking that themselves. As far as I know there is no difference and there is no way to fix this in Vieb, please let google know that you are having these silly issues.
Given the amount of people opening these duplicate issues I will leave this open for visibility.
from vieb.
https://support.google.com/accounts/answer/7675428
Vieb is probably being flagged for one the bullet points listed (such as embedding in different applications), which is nothing that can be "solved" by Vieb. My only recommendation is to report this to google and let them get this fixed, because even people who are using the official google version of chrome appear to be having these issues every now and then:
https://support.google.com/chrome/thread/23340584
from vieb.
Okay, as a further confirmation that this is out of Vieb's control, other Electron users and contributors also mention that there is nothing that can be done by Electron to solve this. You are basically at the mercy of google to allow the login, which they can block for any reason they deem acceptable:
electron/electron#22346
from vieb.
Related: Qutebrowser uses site specific workarounds/useragents
from vieb.
For what it's worth: I had the same problem and even some sites using Cloudfare like Medium were banning my ip because of my User Agent. I solved the problem by doing: 1. hardcoding the user agent at https://github.com/Jelmerro/Vieb/blob/master/app/index.js#L176 (I used Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
) and 2. build the app from scratch using npm run build
. So, I think loging into any Google site is totally doable. I'm doing it right now. Maybe we can set a custom user agent by setting a variable in the rc file?
When I try to log in to any Google property, I get this error message:
Perhaps we need to report a different user agent.
from vieb.
It is possible to change the useragent to use a workaround for these broken checks, but I definitely want this to be an optional setting. The problem with that is that a setting for custom useragents with the "set" command would be tedious and that Vieb does not have dictionaries or something similar to configure more complex settings like domain specific useragents.
What could work is a setting such as "firefoxuseragent", with options like: "always", "google" and "never", for which the default would obviously be set to "never". Because bending over with workarounds like this to please specific websites should always be optional.
The final remaining point is that there is a bit of difficulty in keeping the useragent up to date with new Firefox releases. Given the evergreen nature of Firefox and the time-bound releases a function could be written to predict the version. Worst case is that Vieb would need to fetch the latest useragent from some kind of external service (which isn't something that Vieb should connect to without user permission).
from vieb.
It's a nasty policy and this is a hacky workaround, not something that will fix the problem. Maybe on the short-term, but absolutely not long-term. Users should decide for themselves if they want to commit to this, without abstracting it away as if this is fine. It's not, it's hurting the web as we know it, and people should think twice about accepting these kind of hurtful policies by companies. Besides, it's not like Google can't detect that you are doing this in the first place, if they wanted to they could easily detect if you are really using Chrome, Chromium or actually using Firefox (instead of merely changing the useragent). Having said that, I'm okay with a setting that will allow users to change it, but that will be at their own risk.
from vieb.
For anyone not able to login to google even when using firefoxmode, for me going to https://myaccount.google.com/security (from a browser I was already logged into google) and turning on 'Less secure app access' enabled me to log me in to google. Afterwards I was able to turn it off again and stay logged in.
from vieb.
I'll add it to the FAQ section about google signin in a bit, so people don't have to crawl through issues to find workarounds for Google's blocking policy.
from vieb.
Related Issues (20)
- [Enhancement] Rebase using Ungoogled-Chromium and Thorium's performance patches HOT 1
- Youtube player performance degradation HOT 24
- Enough State Export+Import to Build Live Sync HOT 8
- Android Port HOT 2
- Proposal for design of CLI HOT 4
- Issue trying to load Mozilla Hubs HOT 1
- [Windows-only] Vieb does not fully quit on Windows because deleting files freezes the entire app HOT 14
- Nextjs onClick won't work HOT 2
- [toc] when showing the toc for the first time, show it expanded instead of collapsed HOT 7
- [markdown] Add the possibility to load local resources HOT 11
- :set mouse= does not change it's value HOT 3
- Support for NT 6.1 HOT 3
- Add the ability to group tabs by tagging them HOT 1
- Not working on raspberry pi HOT 1
- Add a setting to customize the `action.editWithVim` filename
- libuuid error on opensuse tumbleweed HOT 2
- userstyle not applying to local files HOT 1
- Double quotes are escaped and included in string HOT 2
- Command history like in vim HOT 3
- Vieb 12.0.0 adblocker prevents some sites from loading HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vieb.