Y
Hacker News
new
|
ask
|
show
|
jobs
by
maaaats
2716 days ago
How is a webpage able to query the local file system? That sounds pretty bad.
2 comments
kiallmacinnes
2716 days ago
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.
link
akerro
2716 days ago
You can query static asset of extension by it's path chrome://extensionid/asset.css
link