Closed javierecf closed 7 years ago
Borrowing the answer from https://github.com/mozilla/pdf.js/issues/8108#issuecomment-282408504, since it applies here as well:
PDF.js does not execute any JavaScript embedded in a PDF file for security reasons. The only exception is the
Closing as answered.
Configuration:
I have a quick question, is there anyway to support or enable ejecution of Javascript code from the click event of anchor elements in the PDF viewer?, until the last firefox update (52), i was using Adobe Acrobat and its firefox plugin support this only asking to do so for security reasons.
Is there a way to achieve something like invoking code such as "javascript:MyFunction()" from the links inside the PDF inside the PDF viewer?
thanks for your time.