4 ms·
Actually, I'm pretty sure that's used to let you read webpages stored on file://. That's a feature that has been present in browsers since ~1993. I don't think
by Yoric 11y ago
Actually, I'm pretty sure that's used to let you read webpages stored on file://. That's a feature that has been present in browsers since ~1993. I don't think you can deactivate it.
> And what a pdf reader has to do with javascript is a mystery as well.
It's a pdf reader written in JavaScript, just as there are other pdf readers written in other programming languages.
- JosephRedfern 11y agoIn that case, is the issue actually specific to pdf.js? If it's written entirely in javascript, could this not be exploited some other way? Or does pdf.js have special permissions in this context?
- Yoric 11y agoWell, if I recall correctly, pdf.js is an add-on, so it has special permissions, just like any add-on.
- JosephRedfern 11y agoAh-ha. I believe it can also be run embedded in a page (GitHub does so), so it CAN be run without special permissions.
- sp332 11y agoIt used to be an add-on but now it's built-in (since v19, early 2013).