[okular] [Bug 480191] Allow user to disable JavaScript support.

KDE User bugzilla_noreply at kde.org
Sat Jul 26 05:23:08 BST 2025


https://bugs.kde.org/show_bug.cgi?id=480191

KDE User <cecij72018 at firain.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cecij72018 at firain.com

--- Comment #1 from KDE User <cecij72018 at firain.com> ---
+1 for a checkbox to disable JS in the settings. Other document readers like
Evince and GNOME Papers don't support JavaScript for PDFs for security reasons.
Most malicious PDF documents contain JavaScript. As corporate environments have
to check PDF attachments a lot, an option to disable JavaScript would improve
security and reliability in a corporate environment, as well as for any user
who prefers to disable JavaScript.

It could also improve performance for some PDFs, not to mention the positive
effect it could have on the environment for not running JS and wasting CPU
cycles for a PDF, which could very likely be a malicious file. Most people use
PDFs to view formatted texts and images (media), and are unaware of scripts
running behind the scene. So, an option to disable JS in PDFs is a very useful,
and in my opinion, a must have feature.

I would be very grateful if such a feature exists, as a user who deals with
hundreds of PDFs. Thank you, hope to catch the Okular contributors' attention
with this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list