Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is a webpage able to query the local file system? That sounds pretty bad.


It doesn't, it queries the local assets of installed extensions. Chrome (and I guess other browsers?) provide a way to do this, so the HTML etc injected by an extension can reference assets shipped with the extension.


You can query static asset of extension by it's path chrome://extensionid/asset.css




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: