1j01 / 98

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎
https://98.js.org
1.15k stars 183 forks source link

[SUGGESTION] browsing the internet #76

Closed Jurorno9 closed 1 year ago

Jurorno9 commented 2 years ago

I LOVE this project, and want to actually do classwork using it, but I wish you could go to websites other than the preset archive.org sites. It would break the emersion, but a toggelable browser setting in the browser window to allow the browser to work with other sites would be amazing.

it could be very easily done with a toggle menu, which if enabled, disables line 286 of explorer.js

AliAkczaa commented 1 year ago

how can i modify the code to make each page work?

Jurorno9 commented 1 year ago

shoot, I started work on a fix, and it is a WAY more complicated than I though. It was quite easy to just a a boolean to disable the archive.,org site redirect. but DAMM some websites don't want you to embed their content. Maybe over a break in classes, I'll implement https://github.com/niutech/x-frame-bypass to fix this. But for now I'm going to close this

1j01 commented 1 year ago

This is definitely something I'm interested in. The archive.org integration was actually spurned by most popular sites not working, but it seemed like a good fit (for a quick solution) since it fits with the retro theme to show historical versions.

Another tool, which I haven't looked into: https://github.com/dosyago/BrowserBoxhttps://github.com/dosyago/BrowserBox I'd guess x-frame-bypass fits the bill better.

It seems like the main hurdle will be hosting, in any case. (I also thought about adding support in Electron with <webview>, but that's just much less interesting, if you'd have to download software to run it.)