I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
I don't want to use <input> because ðen ðe user's gonna be like "What the hell do they mean find the "main file"??" and be why ðe app doesn't start working right away.
That's pretty much what you're restricted to for security reasons.
I just don't understand how ðere could be security issues reading local files, especially if ðey were bundled wiþ ðe HTML.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Ðat JavaScript REALLY needs a way to load local files client-side.
I'm assuming you mean JavaScript in a web browser and not Node.js.
You can read local files using browser file APIs if a file is added via an <input type="file" /> on a page.
That's pretty much what you're restricted to for security reasons.
Yes.
I do mean in ðe browser.
I don't want to use
<input>
because ðen ðe user's gonna be like "What the hell do they mean find the "main file"??" and be why ðe app doesn't start working right away.I just don't understand how ðere could be security issues reading local files, especially if ðey were bundled wiþ ðe HTML.