Does Evince support javascript in pdf files?

5,004

Solution 1

Essentially, it doesn't support it, so you can't turn it off.

Solution 2

No, evince does not support Javascript.


How to verify this?

To make it easier for others to verify the up-to-dateness of this answer, you can query two information sources:

  1. There exists an official bug report (Support Javascript in PDF Documents) handling the feature request for Javascript, which - by now - does not mention a version for which the Javascript support is planned:

    Version: unspecified
    [...]
    Importance: Normal enhancement

  2. Look at the official roadmap of evince, especially at the Javascript line from Roadmap#Unresourced: Evince Roadmap - Unresourced - Highlight Javascript Status

Solution 3

[update 05.2018]: bug moved over to gitlab.

There is a bug report on this on bugzilla.
It is classified as Normal Enhancement.
Unfortunately I have no clue if they are actively working on it or not..

Share:
5,004

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin almost 2 years

    In some pdf file readers for MS Windows such as those from Adobe or Foxit, it is possible to turn off the ability to implement javascript in a pdf file. Is that possible with Evince (Document Viewer) 3.2.1? I don't see any option to do so.

    Or, is it that Evince does not implement javascript in pdf files at all?

  • Admin
    Admin over 12 years
    I also searched the net and came across a Nabble thread (old.nabble.com/…) to the same effect with the mention that the team is looking at supporting javascript
  • Adam Katz
    Adam Katz about 7 years
    The upstream poppler bug noted in March 2017 that "we already "support" Javascript, i.e. extract its contents" and posted a video demonstrating "partial support" in Okular (the KDE poppler wrapper), so it is conceivable that Evince can gain this support in the future, though it'd be harder than for Okular (since Okular is a KDE app, it uses Qt, which has a built-in JS interpreter). I hope they disable JS by default; it's too easy to abuse with malware.