Comments (1)
It's currently set up to load files from absolute paths (URLs), assuming that it's at the root of a domain (or subdomain), so it's making requests for files at e.g.
http://www.cristianleandri.com/desktop/CREDITS.txt
instead of
http://www.cristianleandri.com/98-master/desktop/CREDITS.txt
(found out this was the problem by looking at the Network tab in chrome devtools (knowing that it fetches files over HTTP - which isn't clear from the error message because it's going thru a filesystem abstraction library BrowserFS))
I made this decision to simply handling applications that aren't at the root (e.g. https://98.js.org/programs/sound-recorder/ which can be used standalone), which would have to load from different relative paths, but the same absolute paths (as long as the absolute paths work...)
I may be able to fix this fairly easily, but it's not necessarily a goal of the project to work with arbitrary hosting setups; it might need a custom server at some point in the future. For instance, it has a filesystem-index.json
file that has to be regenerated, and it would be nice if that was generated dynamically by the server.
All that said, by the way, I do want to make it so you can definitely see the credits - since this is largely a showcase project, and you can still appreciate the projects themselves without the filesystem support. So I might want to make the credits work differently (it would be good to be able to click the links anyways),
from 98.
Related Issues (20)
- Is there a way to trigger launch of programs other than clicking on desktop icons? HOT 2
- The filesystem is not available. It failed to initialize. HOT 3
- own idea HOT 1
- Is this a bug? HOT 3
- Absolute file paths don't work with file:// protocol
- Add Rezize Window HOT 1
- Available for commercial use? HOT 5
- Add Right click menu on desktop
- Notepad and JSPaint is blank when opening files HOT 2
- [SUGGESTION] browsing the internet HOT 3
- "The filesystem is not working" HOT 1
- Add Kidpix JS to project
- 3D Maze Screensaver HOT 1
- Failed to get WebGL context; refreshing and restarting not working
- Win95 Media Player, Windows Classic Theme Designer, and 3D Maze Screen Saver
- The tools in JS Paint are noticeably lagging, and I can't draw because of that. :( HOT 1
- Any way to contact you/contribute to this directly? HOT 2
- I made an unofficial "upgraded" version of 98.js, feel free to add the new stuff to the main site! HOT 2
- pencil tool to draw, on a new image on jspaint.app the white background disappears and becomes black dots HOT 1
- help I deleted a bunch of stuff HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 98.