News for hackers. Stuff that matters.
Re:Thoughts on Arc Browser by imbnwa on Wednesday November 09, 2022 @10:36PM (#33541873)
Isn't this what XUL was? Admitedly I'm aware its arch was too complex to compete with Chromium's speed and security features, but way before Electron, I was using desktop apps built with XUL like Songbird for my music app, as well as a Twitter client whose name I can't recall now (of course, Thunderbird as well). Maybe they threw the baby out with the bath water a little bit by electing to concede to WebExtensions API since now Electron is filling exactly the niche that XUL provided.
Re:Thoughts on Arc Browser by soulofmischief on Wednesday November 09, 2022 @11:14PM (#33542120)
Yeah, Electron and Chromium fill a close enough niche that I don't think the market is really demanding what I envision.

Try giving foobar2000 a spin or checking out some screenshots to get an idea for what I mean. Unlike Chromium, the browser should be extendable, at runtime, via a component system and editable layout tree. Runtimes, backends, common libs, fonts etc should be managed using a repository system.

Chromium requires recompilation (and know-how) in order to make any big change. Comparatively, a user should be able to completely reskin their browser, switch JavaScript engines, etc. on a per-domain, per-group or per-tab basis in seconds without restarting the browser.

Re:Thoughts on Arc Browser by nine_k on Thursday November 10, 2022 @12:15AM (#33542535)
There are two things that become harder with such architecture: integration, and security.

Integration is relatively easy to solve. I did not use foobar2000 for a long time; I can compare instead with Emacs, where various packages are aware of various other packages and will integrate if a counterpart is present, but won't require that.

Security is much harder; the need to isolate pages means relatively smaller customizable API surface, and, most importantly, greater trust to the components. It's much like web extensions now: you have to think well before giving an extension access to your web mail or online banking web pages.

XUL was an attempt to build a very flexible architecture, and it was great, but the (lack of) security killed it.

Re:Thoughts on Arc Browser by Fnoord on Wednesday November 09, 2022 @11:59PM (#33542422)
You can make PWAs of nearly every page. I do this to make 'apps' of Netflix and such. Don't have offline storage though, but at least you don't need the Electron stuff and you decide the extensions it runs (uBlock is a welcome candidate). There's also containers in Firefox.
Re:Thoughts on Arc Browser by Gbox4 on Saturday November 19, 2022 @08:00PM (#33676923)
How do you do this? Do you wrap the website with a PWA-friendly HTML template, then load the desired website in an iframe?