mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Delete src/browser/components/protections directory
Signed-off-by: Samuel Oldham <77629938+SO9010@users.noreply.github.com>
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
diff --git a/browser/components/protections/content/protections.mjs b/browser/components/protections/content/protections.mjs
|
||||
index 597b6d93ec..d813ef24bd 100644
|
||||
--- a/browser/components/protections/content/protections.mjs
|
||||
+++ b/browser/components/protections/content/protections.mjs
|
||||
@@ -391,6 +391,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}).then(createGraph);
|
||||
|
||||
let exitIcon = document.querySelector("#mobile-hanger .exit-icon");
|
||||
+
|
||||
+ // Enforce the mobile app promotion to be hidden on load.
|
||||
+ RPMSetPref("browser.contentblocking.report.show_mobile_app", false);
|
||||
+
|
||||
// hide the mobile promotion and keep hidden with a pref.
|
||||
exitIcon.addEventListener("click", () => {
|
||||
RPMSetPref("browser.contentblocking.report.show_mobile_app", false);
|
Reference in New Issue
Block a user