caiiiycuk / js-dos

The best API for running dos programs in browser
https://js-dos.com
1.05k stars 128 forks source link

TCP/IP internet networking support #352

Open levelsio opened 6 days ago

levelsio commented 6 days ago

It would be very cool to have real TCP/IP internet networking support.

I know JS-DOS supports IPX but I am unsure how to hack that to open websites in Netscape and chat in mIRC.

I am running it on my site at Pieter (dot) com.

Also happy to fund to add support for it. Would be very cool to have full internet support.

Thanks!

rgex commented 6 days ago

Even with TCP/IP support It is unlikely you will be able to open any website because Netscape can't handle modern day https. https://www.reddit.com/r/techsupport/comments/4wfyqo/cant_load_reddit_without_https_in_netscape/?rdt=37815

hasnat commented 6 days ago

you'd be limited with Same Origin Policy / CSRF you can by proxing requests via your own (same domain) backend. e.g. if php on backend, simply putting you'd be returning <?php echo file_get_contents($_GET['url'])

bad idea having no restriction public proxy

levelsio commented 5 days ago

That's fine, I'd just like to open https://pieter.com with JS-DOS running on https://pieter.com

Right now it opens a local copy (INDEX.HTM) but would be cool to have it live (and easier to update)

Also wanna do mIRC with my own IRC server on same domain too

caiiiycuk commented 5 days ago

dosbox-x support network adapters, need to bring support to web