JS in a PDF? You can do that in HTML, why not use the tools you already have that work together by design?
This guy is arguing that removing JS is what makes the web better. Having published, static, paper-like content is the way forward.
This guy is arguing that removing JS is what makes the web better. Having published, static, paper-like content is the way forward.
As someone who has had to extract data from large sets of PDFs and modern web presentation formats, I'm not a fan of either, really. Even verifying that a visibly presented string exists in a PDF document programmatically can be a non-trivial task, as with a given website as well. That to me says a lot.
For what it's worth, the same objection occured to me. The use of scripting I've seen in PDFs has been use-supporting and consistent with their book-like feel.