I've tried in the past to run GNOME Web as my default browser, but I am very dependent on Bitwarden as my password manager, and having it just there one click away on Firefox is just too convenient for me to switch over to GNOME Web.
As you probably already know, GNOME Web (technically) has WebExtensions support, if you enable it using the command line. After that, you can just install any extension you download from the internet. Except not really, because nothing really works. Which includes Bitwarden, that gives a weird error regarding an unimplemented API call upon trying to log in.
I have looked around a bit and discovered that, all this API call is trying to do is to get the extension's version, and that's pretty much it. So, I removed the code that calls that API and just pasted the version number directly. And it somehow worked.
From what I can tell, anything but the auto-fill function works, so you'll have to manually copy and paste your credentials. A bit of a bummer, but personally, I'll take it. (before some other problem appears and I eventually just switch over to Firefox again, of course)
This repository only contains a fix for the web extension of Bitwarden, and that is only one file. No other clients have been touched.
Just go over to the Releases tab and download the .xpi file which you can install on GNOME Web.
If your GNOME Web installation doesn't have WebExtensions support enabled, you'll have to enable it. I personally have it installed from the GNOME Nightly Flatpak repo. To enable that repo and install GNOME Web, you can use these commands:
flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
flatpak install gnome-nightly org.gnome.Epiphany.Devel
After these are done, you can enable WebExtensions using this command:
flatpak run --command=gsettings org.gnome.Epiphany.Devel set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ enable-webextensions true
After that is done, you can open GNOME Web, go to Settings, where you'll find a new tab called Extensions. You can install extensions using that.
Great, you can just use the build instructions provided by Bitwarden themselves:
https://contributing.bitwarden.com/getting-started/clients/
https://contributing.bitwarden.com/getting-started/clients/browser/
Or you can run these commands after running a git clone of this repo:
cd bitwarden-epiphany
npm ci
cd apps/browser
npm run build
Then, just compress the build directory inside of the /apps/browser directory into a zip file, and change the extension from .zip to .xpi. There are more elegant ways of doing this, but this method just worked for me.
This is of course not an official Bitwarden repository, and I have no involvement with Bitwarden. This is just a thing I wanted to share as I thought it could be useful.