Commit 8d480877 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃 Committed by morgan
Browse files

fixup! Firefox preference overrides.

Bug 42611: Set clipboard.imageAsFile.enabled to false

In this way, when you copy an image to the clipboard, its URL is not
copied as well.
This replaces a patch we used to have in the previous versions after
Mozilla implemented this preference in Firefox 120.
parent 5b238c40
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -100,6 +100,11 @@ pref("browser.pagethumbnails.capturing_disabled", true);
// Empty clipboard content from private windows on exit (tor-browser#42154)
pref("browser.privatebrowsing.preserveClipboard", false);

// tor-browser#42611: Do not include the URL of the image, when copying it.
// Also, do not save clipboard in history/cloud.
pref("clipboard.imageAsFile.enabled", false);
pref("clipboard.copyPrivateDataToClipboardCloudOrHistory", false);

// Enable HTTPS-Only mode (tor-browser#19850)
pref("dom.security.https_only_mode", true);
// The previous pref automatically sets this to true (see StaticPrefList.yaml),