3 ms·
can pdf?
by eat_veggies 6y ago
can pdf?
- easton 6y agoGiven that PDFs can embed JavaScript, they can embed ad tracking software, yes. And Linux VMs. And a port of WinAmp.
- randomdude402 6y agoI didn't know they could embed javascript. That's horrifying.
- sjy 6y agoI don’t think any of that is possible with the JavaScript APIs exposed (if any) by common PDF readers. I’ve tried to do useful things with JavaScript in a PDF and failed utterly. https://stackoverflow.com/questions/32597283/can-javascript-running-within-a-pdf-access-the-domain-it-was-downloaded-from https://stackoverflow.com/questions/32597283/can-javascript-...
- SSLy 6y agoPaizo uses JS to trigger map layers (for RPG products)
- jcynix 6y agoTracking is one possible problem. The other is, that JavaScript can modify the document itself, so a part of a contract for example might print out differently depending on conditions. That's why PDF/A for archiving was created which disallows various components, cf. https://en.wikipedia.org/wiki/PDF%2FA https://en.wikipedia.org/wiki/PDF%2FA
- mpweiher 6y agoFortunately many PDF viewers don't run them.