10 ms·
It's great to see yet another attempt at writing a web browser --- and I say this as someone who has been (slowly) working on one myself. The browser is far fr
by userbinator 6y ago
It's great to see yet another attempt at writing a web browser --- and I say this as someone who has been (slowly) working on one myself.
The browser is far from stable, spec-compliant, or even really useful, but, I'm slowly working on bringing more features and supporting more sites.
When the specs are constantly churning in order to keep one gigantic company's browser an effective monopoly, maybe it isn't really that important to follow them so closely... especially if you're aiming for something more like an actually-user-friendly (i.e. with the UI and controls you actually want, not some designer's flavour-of-the-month) hypertext document viewer than a web application runtime/OS. From that perspective, even HTML4+CSS2 would probably be quite sufficient.
Maybe if enough of these "minimal browsers" show up, people might even realise that basic HTML and CSS is quite sufficient for a lot of things and start creating simpler, more efficient sites, thus dissolving the monopoly. I realise it's going to be extremely difficult to fight corporate interests, but one can hope and dream...
https://news.ycombinator.com/item?id=25915313 https://news.ycombinator.com/item?id=25915313
- Daegalus 6y agohonestly, I have been toying with the idea of building a web browser project that has no JavaScript. just completely ignores the script tag or any JavaScript related things. like onclick, and other attributes.
- marakv2 6y agoReally what did JavaScript bring us? (And there goes my points!) I want to search for information and share information with people. I don't want any more from the net. It feels like what we want is being surpassed by those who want to monetise us.
- vicda 6y agoLightweight sandboxed applications in the browser. No admin password needed since there's nothing to install. Sure it may be bloated overkill for something that could have just been a plain text file, but it is nice to have real time and interactive visualizations. Plus it is nice to have the choice to use mobile websites instead of using the access hungry native apps.
- admax88q 6y agoFigma, docs, sheets. All great apps I can use for any device with a web browser. No install needed, no updates needed. Easy to collaborate with. No "install this application" just "open this url" Application delivery though the web browser is just hella convenient. It's really hard to give that up for some "native apps and static documents" utopian dream.
- CaptArmchair 6y agoThe idea of "web applications" is almost as old as the Web itself. Java Web Applets, Flash, Silverlight,... were all attempts to bring application functionality to the browser. Billions have been invested in this strategy. Why? Because desktop computing used to be a battlegrounds for commercial vendors in the late 20th century, and the goal was establishing market dominance. Being able to control who can run what on a platform was / still is part and parcel towards establishing that goal. Web browsers changed the game. They are a threat and an opportunity at the same time. A threat because gave anyone a chance to escape from a native context and run whatever you want in a browser regardless of the platform your on. No more having to compile and distribute the same application for a dozen potential targets. Microsoft was so adamant on having Explorer bundled with their OS in order to establish control over the future evolution of web applications on the information highway. And they got famously burned for it in that 1999 anti-trust case. Application delivery as you know it today is convenient, but that came at a price. Vast amounts of resources have been poured into Chromium over the past two decades to bring that experience to billions. And it didn't happen out of sheer altruism on the part of Google.
- admax88q 6y agoThe fact that web applications are so old indicates the demand for such a delivery platform. > Microsoft was so adamant on having Explorer bundled with their OS in order to establish control over the future evolution of web applications on the information highway. And they got famously burned for it in that 1999 anti-trust case. Totally. Microsoft was using it to try control the web as a Microsoft platform. Hence their push for ActiveX over flash/applets/javascript. > Vast amounts of resources have been poured into Chromium over the past two decades to bring that experience to billions. And it didn't happen out of sheer altruism on the part of Google. At the time Chrome was started it was a more or less altruistic move from Google, from the user's perspective at least. Google was heavily reliant on the web for income and existing browser were slow, had widely varying standard support, and lots of security issues. Chrome forced their hands, by showing that a web browser can be fast and "secure." Also at the time Google have a significant platform of their own. They would be at the mercy of the platform gatekeepers. So pushing an open platform that anyone can publish on was in their own interest. Since then Android has taken off and Chrome has morphed into arguable spyware, but at its inception it was a good thing for users. > Application delivery as you know it today is convenient, but that came at a price. A price to whom though. To those who would try to lock down our platforms and seek rent over application delivery? I guess I don't really care about how much it costs them ;).
- speedgoose 6y agoYou can disable JavaScript by default for some time and then look at the list of websites and apps where you enabled it again. It has been a very frustrating experience to me.
- marakv2 6y agoIt's quite maddening. The only thing I've done with JavaScript is tracking customers, even if they sent logged in. Now I'm a very unique slice, I only take quick contracts from upwork and such as I don't have the pedigree to get a proper job in coding.
- GoblinSlayer 6y agoYour frustrating experience was before you disabled javascript or after?
- speedgoose 6y agoAfter. Almost everything is broken. Keeping JavaScript enabled with a privacy/ads blocker is better for me.
- deleted 6y ago[deleted]
- yosito 6y agoI use Firefox with uMatrix to basically block any JavaScript that I don't explicitly enable. Twenty years ago, browsing the internet without JavaScript was fairly easy. But these days, it seems like upwards of 60% of websites simply don't work at all without JavaScript. I wonder if there are any projects that help people find sites that don't use JavaScript. Search engines that only index JavaScript-free sites, old school "blog rings" that only link JavaScript free sites together.
- coldpie 6y agoYou will get nowhere, the web is unusable without JS. Try running Firefox with JS disabled sometime. You can use a plugin like NoScript to control what scripts run, it's a pretty decent compromise.
- creshal 6y ago> When the specs are constantly churning in order to keep one gigantic company's browser an effective monopoly, maybe it isn't really that important to follow them so closely... The notion breaks as soon as your users want to use youtube or gmail, which for some mysterious reason keep insisting on using all these useless "standards" even though they have no benefit to the user.
- swsieber 6y agoYoutube and gmail will mysteriously break for people on Firefox too, so it's not that much worse. /sarcasm (sort of...)
- Ygg2 6y agoPretty sure those sites break in Edge and Brave as well...
- Cthulhu_ 6y agoThey break them on purpose so people will switch to Chrome. And the worst part is, there's no evidence (yet?) that there's malice behind it. Maybe we'll get a whistleblower at some point, but that'll only happen when their income no longer covers buying off their conscience.
- scaladev 6y agoDo they only break for users in the United States? I've been using Firefox exclusively since about 2.0, and I've never had any of the Google projects break for me. Not once. Yet this seems to be a pretty common problem around here.
- Ygg2 6y agoI'm from Europe and on one occasion Youtube was broken on Firefox but not on Chrome. It was fixed in the day or two.
- jetti 6y agoThe way I see it is that for many people web applications have replaced their need for desktop applications while giving a somewhat comparable experience. I think it would be a very hard sell for the average user to want to use a "minimal browser" because it could mean giving up a lot of day to day functionality they rely on.
- mro_name 6y agoIt doesn't habe to be "one browser to view them all" - take a simple, robust one for random web and a bloated one for trusted applications.
- eitland 6y agoI've been arguing this for a while: I want a browser that deliberately cannot run random scripts; only from a vetted source. That source will contain stuff like autocomplete and htmx or similar. If something doesn't work with that it asks you if you want to enable "bloat mode - warning: unsafe" and I the user chooses it enables a full browser engine.
- jraph 6y agouBlock Origin with JavaScript disabled by default comes close and I'm currently using it like this. You can temporarily re-enable scripts for a website, or "lock" the reactivation for websites requiring Javascript and you need to use regularly. My computer is once again cool, fast and quiet.
- matteqa 6y agoLibreJS is probably what you're looking for.
- MaxBarraclough 6y agoA good suggestion, but LibreJS is about blocking non-trivial JavaScript which isn't Free Software, it's not about vetting specific JavaScript files. A malicious website can declare its JavaScript to be Free Software, and LibreJS will then permit that script to run. * https://www.gnu.org/software/librejs/ https://www.gnu.org/software/librejs/ * https://en.wikipedia.org/wiki/GNU_LibreJS https://en.wikipedia.org/wiki/GNU_LibreJS
- coldpie 6y agoNoScript goes a pretty long way to being what you want, while still being usable. You can whitelist scripts per-domain, so you can still block the garbage while making the site functional.
- brabel 6y agoThe idea of "minimal browsers" is a popular one and there are thriving communities based on this idea: Gopher is a dead simple text-based protocol: https://en.wikipedia.org/wiki/Gopher_(protocol) https://en.wikipedia.org/wiki/Gopher_(protocol) Project Gemini is a slightly more powerful protocol for the small web: https://gemini.circumlunar.space/ https://gemini.circumlunar.space/ The tilde (~) community, which makes the small web social: https://tilde.club/ https://tilde.club/ I recommend you have a look at James Tomasino's Youtube channel, where he shows a bunch of cool stuff going on around Gemini, Gopher and tilde: https://www.youtube.com/watch?v=DoEI6VzybDk https://www.youtube.com/watch?v=DoEI6VzybDk This is not for everyone, but if what you want is just basic text and functionality that can work from a terminal (though there are GUI browsers too), then this is perfect.
- mattowen_uk 6y ago> Gopher is a dead simple text-based protocol Shameless plug for my own Gopher Client: http://www.mattowen.co.uk/gopher/gopher-client-browser-for-windows http://www.mattowen.co.uk/gopher/gopher-client-browser-for-w...
- astrange 6y agoIs there a modern version of lynx/links using an engine like WebKit? I always thought this would be useful but must admit I never got around to writing it.
- jmercouris 6y agoIt depends by what you mean. Do you mean Command line accessible version? If so, there are several that work in terminals. Do you mean text only? If so, there are several browsers that can do this for you :-)
- warpech 6y agoCare to provide some working examples? Many that can be found on Google appear to be working prototypes that are not actually usable.
- cookiengineer 6y agoI feel ya. I'm refactoring my CSS parser the third time now, because I needed to support nested media queries (and therefore the logical condition "spec"). It's amazing how complex even CSS has gotten. And implementing HTML without the ISO SGML spec and the SGML handbook is close to impossible. So many edge cases, so much layouting overhead, and so much damned flow root types. Honestly in the beginning I thought "how hard can it be, it's just like XML"... I was so wrong about this.
- sanxiyn 6y agoEh, SGML spec is entirely unnecessary. Use HTML5 parsing spec. ("The HTML syntax" chapter.)
- dslkfjg 6y agoThis is exactly it. I looked at doing something like this, ok, I looked at doing this and decided early to forgo CSS because it's so very very complicated. Truthfully, if my skillset had better matched the task I might have been lured into giving it a go. On another project I considered using CSS as a styling technology and got down to really understand it in detail. I then realized how good my 1,000 yard vision really is. I can't speak to the forces which inevitably lead to decay but essentially, for some reason every technology tries to eat the world. CSS is trying to eat the world and HTML5 is trying to eat the world and of course Javascript is famously trying to eat the world. All these technologies (and here's the part where I see my post begin to fade to gray) are on their way to experiencing technology's version of societal collapse. I use that analogy because it's so so apropo. They are overwrought, overly complex systems yielding only marginally better results and being maintained at huge cost in terms of attention, brain power and collateral damage by everyone. The benefits accrue to a smaller and smaller number of people (FANG et. al) who do not have society's best interest at heart at all and are very far from the founding principals which inspired the original vision. A simple scriptless HTML 1.0 browser minus the blink tag would deliver at least to me nearly 100% of the benefit I get from the web which can be characterized as "seeing what is happening, seeing what other people think, learning new stuff and downloading stuff". I would love to start a (reactionary) movement away from the current web composed of a privacy-preserving HTML 1.0 browser capable of HTTPS and people dedicated to creating pages and resources for it. I don't know of any such "movement" . If anyone is aware of anything like this do share.
- jan_Inkepa 6y ago> Maybe if enough of these "minimal browsers" show up, people might even realise that basic HTML and CSS is quite sufficient for a lot of things and start creating simpler, more efficient sites, thus dissolving the monopoly. I feel like some initiative to establish a super 'light' version of the html/css specs might be a very good thing...browsers are so far gone out of the hands of individual coders or even small teams now because of their complexity.
- NeoVeles 6y agoThis is something I had been pondering. Rather than making a new 'standard' based on a new technology and thus expanding the standards base with complexity, we can go the other way. Make a specification based on old tried and tested tech. Thinking something like a set HTML/CSS specs that can be implemented fairly easily. It is a spec that is essentially something a website can be built to knowing that end browsers/users can anticipate being able to render. It doesn't need anything new to be added into current browsers but it is simply enough that others can built their browser too. A vague standard I figured would be that a single person should be able to implement the full spec from the ground up in about one years full time work. If done in a group in a free/open manner it could theoretically be done quicker. That said there is the old joke. Two programmers can do in two months what one programmer can do in one month.
- heterodoxxed 6y ago| a set HTML/CSS specs that can be implemented fairly easily That could then be heavily optimized and used for cross-platform apps instead of the bloated, kitchen sink approach of Electron.
- NeoVeles 6y agoExactly. It allows a lower bar for entry for new players. Thinking of things like KaiOS.
- chriswarbo 6y agoPiggybacking on this: there's a lot of redundancy in the Web specs, so it may actually be fruitful to start with features which are more expressive/consistent and leave the older ones to polyfills. For example, if we want JS then it might be worth tackling that first, and bootstrapping the rest (e.g. rendering to one big canvas to begin with).
- panic 6y agoMy dream browser would have two engines -- a simple, very fast engine for "document-like" web pages and a more complex engine that can be loaded on demand using a UI similar to NoScript.
- TomGullen 6y agoDo normal document like web pages render slowly in modern browsers for you?
- swiley 6y agoIME: most pages that are poorly controlled enough to include "tag managers" are unusable with javascript enabled.
- nicklecompte 6y agoSome disclaimers: I am not an expert on Chromium or even web development and this is all quite ignorant and subjective. But I have noticed that plain text is sometimes very slow to render in Chromium browsers (Chrome, Edge, Vivaldi) under heavy load. The issue may to be related to a process-per-browser-tab architecture: a bloated and fragmented block of memory attached to a tab/process can’t be easily freed / allocated. So if you’re on a tab that was previously loading lots of stateful JS, then switch to plain text, Chromium might get stuck in memory management for the tab instead of short-circuiting its architecture by allocating memory solely for the page. I am not at all an expert here and don’t know how Chromium works under the hood. I don’t think it’s literally one-process-per-tab, I just have a vague sketch of what the problem might be here. But I think “idiots like nicklecompte have 700 tabs open and complain that tab 361 doesn’t load plain text quickly” is a problem that’s very difficult to solve in general, even if a dedicated “simple” engine might offer a lot of case-specific fixes.
- tomcam 6y ago> someone who has been (slowly) working on one myself. Well... that's kind of exciting! Is your work public? Would love to see it. > maybe it isn't really that important to follow them so closely... especially if you're aiming for something more like an actually-user-friendly (i.e. with the UI and controls you actually want, not some designer's flavour-of-the-month) hypertext document viewer than a web application runtime/OS. From that perspective, even HTML4+CSS2 would probably be quite sufficient. Yes. So much yes.
- smt1 6y agoDon't forget that Webkit (e.g, Safari) and Blink (Chrome) are quite different these days.
- slmjkdbtl 6y agoIf choose not to comply with specs and stay in the experimental land, why not invent the world wide web from ground up? We don't need to use the bloated HTML / CSS / JavaScript / HTTP, designing brand new protocols, reimagining how people connect through the internet, and building clients / servers for them is super fun