Does Evince support javascript in pdf files?
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:
-
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
Look at the official roadmap of evince, especially at the Javascript line from Roadmap#Unresourced:
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..
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
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 over 12 yearsI 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 about 7 yearsThe 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.