Out of curiosity, I tried to get Brave web browser to function properly in desktop mode on my Fairphone 4 channel 24.04/daily.
Brave browser (stable version) exists as snap as well as DEB and can be installed both ways. For comparison I installed both types to compare which one worked better on my Fairphone 4.
From my testing I concluded that there is no difference in functionality. Both versions do not show the hamburger menu when clicked at the top right corner. The easiest installation was via snap, which took quite some time to complete. The DEB install was quicker and required tinkering with scaling.
Brave installation via snap
Open a terminal and type:
sudo snap install brave
Update all snaps with:
sudo snap refresh
When installation has finished, open Brave browser through Ubuntu Touch main menu or command line: brave
To access the settings when hamburger menu is not working, type this in the address field: brave://settings
Search for the setting exit and modify a keyboard shortcut (example: Ctrl + Q) to be able to quit the application the same way as you would be able to do using the hamburger menu if it was functional.
Brave browser installation in Libertine
Install Libertine Tweak Tool from Openstore.
Activate lirsh command with Libertine Tweak Tool.
On my Fairphone 4, the default container (look at the top of the tweak tool) is set to container name focal. I had to manually change focal to noble. Maybe the Libertine Tweak Tool could do this automatically as an improvement.
Open a terminal window and type:
lirsh
fakeroot
curl -fsS https://dl.brave.com/install.sh | sh
exit # jump out of fakeroot
The brave-browser.desktop did not automatically show up in Ubuntu Touch main menu. After touching folder ~/.local/share/icons/hicolor outside of the Libertine container, it appeared in the Ubuntu Touch main menu.
Brave browser in Libertine only seem to honor the Xft.dpi setting in Libertine container ~/.Xdefaults. A one-line-command which sets the scaling would look like (here I use the value 120, you may want another value):
# lirsh
xrdb -merge <<< "Xft.dpi: 120"; GDK_BACKEND=x11 brave-browser
Testing
Chrome web store extension Dark Reader works as intended.
Cookie popup windows do not show.
Unwanted ads are blocked.
duck.ai working.
Copy-paste (actually: Ctrl+C, Ctrl+V) seem to work from Brave browser to emacs (Libertine), firefox (Libertine), but not to mousepad (Libertine), not to Morph browser (qt6). Right-click copy option does not seem to exist.
Observations
Copy-paste between different windows is glitchy. Some apps work to paste into, some don't. It seems the clipboard functionality needs an improvement to be solid.
Hamburger menu in top right corner does not open.
The Quit browser function has to be accessed via a custom new keyboard shortcut (I created shortcut: Ctrl + Q). This can be tied to a privacy cleanup to delete browser data brave://settings on Brave exit. Killing the app with clicking the windows handler x maybe does not trigger the cleanup functionality by Quit at all times.
Having all sorts of windows open with several tabs at the same time uses 3.9Gi RAM memory, reports terminal command free -h.