by EvanAnderson on 10/27/2023, 9:04:42 PM
by quelsolaar on 10/27/2023, 9:41:34 PM
When desktop applications running in electron, just doesnt have enough web abstraction to keep up with mores law, a hero comes along, to ensure there can always be one more level of java script between you and a responsive UI.
by DarkNova6 on 10/27/2023, 8:04:31 PM
This guy knows his audience well. He answers the question of "but why?" in the first sentence:
> So I started making a browser engine (for fun) a few days ago, it felt kind of inevitable so here we are
And I got to admit, it is pretty neat.
by _Algernon_ on 10/27/2023, 8:08:59 PM
The inevitable question then: Can you run this browser engine within itself, and if so, how many layers deep can you get before the universe implodes?
by klysm on 10/27/2023, 8:58:21 PM
We are sorely lacking inner browser virtualization. This way web pages can virtualize other web pages internally via canvas and get true micro-front ends! Every component can be fully isolated from every other component and they will communicate via network requests to each other
by syrusakbary on 10/28/2023, 12:18:34 AM
This is an incredible feat. Also, love the attitude
> But making a new browser engine is impossible!
No. It. Isn’t! (Also I don’t really care how possible/feasible something is.)
by mjfl on 10/28/2023, 12:04:43 AM
Why do people love JavaScript and want everything written in it?
by b800h on 10/28/2023, 12:49:38 AM
I'm sorry. Obligatory:
"Yo dawg, I heard you like browsing, so we put a browser in your browser so you can browse while you browse"
by taddevries on 10/27/2023, 8:46:14 PM
"Who knows what lurks in the hearts of [browsers]? The Shadow knows."
by CodeCompost on 10/27/2023, 9:20:41 PM
by mattlondon on 10/28/2023, 6:00:31 AM
I also recently did something similar just for fun - my target was to render HTML 3 or perhaps 4.
Aim: fun and perhaps learn something about how layout works.
You can get surprisingly far quite quickly with JavaScript and <canvas>
At least for mine, I got text wrapping and scrolling working :)
by DemocracyFTW2 on 10/28/2023, 6:49:22 PM
Pretty much the solution to better browsing that I've been thinking of for some time and of course never managed to even start about implementing it (or believing I could or should): have one browser / hidden level get all web pages complete with all the bad stuff (or at least the required cookies and advertising) left in, then give the user a sanitized view of that. Note you could do things like rendering obnoxious play-on-load videos as subdued stills that still allow the user to click on to view if they feel inclined; also should be possible to somehow cut the ads out of YT videos with some more work, and YT wouldn't know (the way it should be).
by peter_d_sherman on 10/28/2023, 6:34:38 AM
First of all, looks awesome!
Second: I'd love to be able to see it access Wikipedia!
(Wikipedia should be a fairly "low-hanging fruit" in terms of functionality that must be implemented to achieve compatibility -- if I were writing a web browser, I'd always start with Wikipedia compatibility first, then once that has been obtained, move on to more challenging, technologically complex sites... But that being said, Wikipedia is probably a bit more complex these days than when it was first implemented... still, it would be a great "win" to be able to browse Wikipedia with it!)
Anyway, wishing you great luck with your browser!
by bobajeff on 10/27/2023, 9:59:14 PM
I think it's pretty cool. Maybe browsers are the kind of thing that should be written in s high level language like js. Except for the JavaScript engine of course.
by orangepurple on 10/27/2023, 9:26:34 PM
Are we one step closer to using a VNC client to access services on the Internet?
by Pr0ject217 on 10/27/2023, 8:08:48 PM
I don't think it's working for me (none of the keybinds work, and I don't see the fps counter). Brave, script-blocking disabled.
by notorandit on 10/27/2023, 8:45:52 PM
Wrong title. An almost complete web engine written in JavaScript.
by jameslk on 10/27/2023, 8:19:09 PM
There’s something really beautiful about creating a browser that can run in a browser. We can finally steamroll a lot of those cross browser incompatibilities by replacing the host browser engine entirely. It’s like the nuclear option to fight against the new IE (Safari)
by yencabulator on 10/29/2023, 8:56:55 PM
> rendering backend (`<canvas>`) [...] you're using it right now!
Yup, looks like canvas for sure, can't copy-paste anything and all the lines are clipped because it's not even conforming to my window size.
by raytopia on 10/27/2023, 10:46:25 PM
Cool project! Reminds me of Grail https://grail.sourceforge.net/ which was written entirely in Python.
by throwaway888abc on 10/28/2023, 3:40:08 AM
>So I started making a browser engine (for fun) a few days ago
Lovely opening quote and by my own hobby project procrastinate high bar allow me to wonder when the "few days ago" exactly were ?
Great project
by mmsimanga on 10/27/2023, 8:10:36 PM
Turtles all the way down
by jsight on 10/27/2023, 9:55:27 PM
There must be a term for this sort of situation.
Something about coming full circle, but that full circle is inside of a dumpster fire.
Also, I love this. This is fine.
by darklycan51 on 10/27/2023, 11:23:02 PM
I thank everyone who uses chrome/chromium derivatives for such a great technology possibly being adopted by every browser as a standard.
Goodbye World wide web, it was nice knowing you.
by issafram on 10/28/2023, 2:53:23 AM
It's incredibly slow and that isn't surprising
by Aardwolf on 10/27/2023, 8:10:46 PM
First of all, very neat!
Text selection doesn't work. I guess it's rendered to canvas... but would there be any way to make this work?
by 3seashells on 10/27/2023, 8:39:48 PM
Every Innovation, in its last dying motions becomes the world, the operating system, the compiler, the browser
by uoaei on 10/27/2023, 10:08:45 PM
Opening up not just a can but a whole writhing pit of worms with regard to security vulnerabilities.
by biugbkifcjk on 10/27/2023, 8:59:41 PM
Should add the browser for SerenityOS to the examples of new browser engines.
by doublerabbit on 10/27/2023, 9:16:27 PM
FreeBSD, FireFox 115.0 - Fails.
I get a page of White and Black and <shadow> as a title.
by jagged-chisel on 10/27/2023, 8:10:40 PM
> Name
> As with all my recent projects, the name is because …
This makes me whisper the name in my head
by gorenb on 10/28/2023, 2:37:40 PM
Stroustroup's website uses this? What is this thing? Why
by username135 on 10/28/2023, 1:55:30 AM
Built in JS, hard pass.
by err4nt on 10/28/2023, 1:22:31 AM
Absolutely love it, it's already perfect!
by NetOpWibby on 10/27/2023, 9:14:31 PM
Brilliant. I love this so much.
by Almondsetat on 10/27/2023, 8:06:41 PM
A shadow of the former self
by tlarkworthy on 10/27/2023, 11:00:18 PM
Might be useful for VR
by gavinsyancey on 10/27/2023, 11:46:55 PM
I can't seem to get it to work. Just shows a white screen, sometimes with a black bar over the bottom half-ish of the screen. Tried in Firefox, Chrome, and Safari and see the same thing.
by Beijinger on 10/27/2023, 8:11:39 PM
Nice. But I would have preferred if he had worked on Uzbl
by O1111OOO on 10/27/2023, 11:07:48 PM
The fonts look terrible in LibreWolf and the FPS is only ~60. LibreWolf is also extension heavy. My default zoom on a page is 120% on a 1080 screen.
It doesn't load in (updated) Firefox, which is interesting. It only shows that the FPS is around 60. Not as many extension (vs LibreWolf). I rarely use FF (opting for LibreWolf).
On Brave (no extensions at all, except built in protections), the site runs at ~121FPS and the fonts look normal enough (no zoom, page at 100%). Fonts continue to look fine even when I zoom to 150% or higher.
I expected that my CPU temp would increase, maybe the fans might kick in... nothing. Cool as a cucumber. I have 4 browsers all opened on this page.
Interesting project. I read what @EvanAnderson wrote (evil software). I tend to agree. Respectfully, I don't see how this would be used. Browsers that already run JS don't need this. Browser that need this usually don't run JS (fails on Dillo, NetSurf, Lynx for example).
There's a product here that's been waiting to happen for awhile. I've been anticipating somebody cross-compiling another browser engine to WASM but this works, too.
Deliver your site only to the "inner browser" (that the user has no control over because it's heavily obfuscated and tricked-out with anti-debugging code) and you eliminate all ad blockers. Throw some DNS-over-HTTPS w/ certificate pinning in for good measure and you kill DNS-based ad blockers too.
Accessibility will be a challenge but if it sells that'll get "fixed".
(I think this idea is evil, BTW, but somebody is going to do it.)
Edit: As an aside this needs to go here, too. https://www.destroyallsoftware.com/talks/the-birth-and-death...