Hacker News new | ask | show | jobs
by apetresc 3773 days ago
The network interface doesn't seem to be configured – when I try to open the browser it wants me to install a modem. Is the VM just not configured for that, or do I need to do something? Would love to see what today's web looks like on '98 IE :)
2 comments

It's possible, Windows 98 has drivers for the NE2000 network card we're emulating (https://github.com/copy/v86/blob/master/src/ne2k.js). However, currently the emulation isn't accurate enough, Windows 98 refuses to use it.
The bigger problem would be what to connect it to, and how. You can't make arbitrary outbound connections from Javascript.
I have a barely working HTTP proxy in client-side-JavaScript here: https://github.com/ysangkok/browser-http-proxy

This allows you to connect to CORS enabled sites without using the WebSocket proxy. It talks HTTP on the serial port.

I want to add SNI support to tlstunnel so that I can tunnel to google.com by navigating to https://google.com.mydomain/ and having the snitunnel tunnel to http://google.com by reading the bottom-level domain names using SNI.

Using this with browser-http-proxy, it would be possible to tunnel to HTTP sites on a request-based level (making it easier to scale) and without relying on tun/tap on the server. Also it could serve as a fallback for non-CORS enabled hosts.

We're using this proxy script: https://github.com/benjamincburns/websockproxy
I can't wait until it works, you must ping HN again when it does!
Really cool work. Looking forward to updates.

When I tried to run Internet Explorer and open a website, the window closed (crashed I guess).

I really want to open some common websites on Win 98 :D

They don't tend to work (you end up clicking a "script error" acknowledgement a lot). It's less fun than it sounds like it would be.