From 4edd2f91b46402a9f3b67b1c7e59ba7b68a003d6 Mon Sep 17 00:00:00 2001 From: Basilisk-Dev Date: Mon, 29 Aug 2022 22:52:03 -0400 Subject: [PATCH] [Basilisk] Issue #19 followup - remove DNT from mozscreenshots We technically don't use mozscreenshots at all, but this should still be removed since it is no longer a valid setting --- .../extension/configurations/Preferences.jsm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/Preferences.jsm b/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/Preferences.jsm index aa2b3f2a7c..d7127f92b0 100644 --- a/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/Preferences.jsm +++ b/application/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/Preferences.jsm @@ -22,7 +22,6 @@ this.Preferences = { ["paneContent", null], ["paneApplications", null], ["panePrivacy", null], - ["panePrivacy", null, DNTDialog], ["panePrivacy", null, clearRecentHistoryDialog], ["paneSecurity", null], ["paneSync", null], @@ -96,12 +95,6 @@ function paintPromise(browserWindow) { }); } -function* DNTDialog(aBrowser) { - yield ContentTask.spawn(aBrowser, null, function* () { - content.document.getElementById("doNotTrackSettings").click(); - }); -} - function* connectionDialog(aBrowser) { yield ContentTask.spawn(aBrowser, null, function* () { content.document.getElementById("connectionSettings").click();