Hacker News new | ask | show | jobs
by 651549846546 1648 days ago
Cool, Not seen the browser directory access permission before!

Is there any browser behaviour different than when using a file:// uri?

2 comments

I forgot the specifics but a fair amount of things no longer work from file URLs.

There's some much stricter rules on what your can access via fetch() if I recall.

I think mainly CORS stuff, e.g. you can't use images loaded with file:// for WebGL texture, but also curious if more
I think there might be some script loading rules, too. That prevents JavaScript from an internet loaded site accessing local content