disable js in pdf

This commit is contained in:
Kopatz
2025-10-10 13:35:05 +02:00
parent 840df9c4a8
commit 2a7548343f
2 changed files with 2 additions and 1 deletions

View File

@@ -119,7 +119,7 @@
# Disable Javascript in PDF viewer # Disable Javascript in PDF viewer
# Disables executing of JavaScript in the PDF form viewer. It is possible that # Disables executing of JavaScript in the PDF form viewer. It is possible that
# some PDFs are not rendered correctly due to missing functions. # some PDFs are not rendered correctly due to missing functions.
"pdfjs.enableScripting" = true; "pdfjs.enableScripting" = false;
# copied these from a blog # copied these from a blog
"browser.newtabpage.activity-stream.feeds.telemetry" = false; "browser.newtabpage.activity-stream.feeds.telemetry" = false;

View File

@@ -78,6 +78,7 @@
# Disable the clipboardevents. # Disable the clipboardevents.
# Disable that websites can get notifications if you copy, paste, or cut something # Disable that websites can get notifications if you copy, paste, or cut something
# from a web page, and it lets them know which part of the page had been selected. # from a web page, and it lets them know which part of the page had been selected.
# Enabled as it is needed by some webapps I use.
#"dom.event.clipboardevents.enabled" = false; #"dom.event.clipboardevents.enabled" = false;
"dom.event.clipboardevents.enabled" = true; "dom.event.clipboardevents.enabled" = true;
# Disable Search Suggestions # Disable Search Suggestions