Browse Source

Clean up private browsing tab

main
Ashton Charbonneau 10 months ago
parent
commit
44e628e048
2 changed files with 13 additions and 1 deletions
  1. 12
    1
      chrome/userContent.css
  2. 1
    0
      user.js

+ 12
- 1
chrome/userContent.css View File

1
-
2
 /* Hacker News */
1
 /* Hacker News */
3
 @-moz-document domain("news.ycombinator.com") {
2
 @-moz-document domain("news.ycombinator.com") {
4
 	textarea, input {
3
 	textarea, input {
105
 		display: none !important;
104
 		display: none !important;
106
 	}
105
 	}
107
 }
106
 }
107
+
108
+/* Private browsing new tab */
109
+@-moz-document url-prefix(about:privatebrowsing) {
110
+	.logo-and-wordmark,
111
+	.search-inner-wrapper {
112
+		display: none !important;
113
+	}
114
+
115
+	.info-border {
116
+		display: none;
117
+	}
118
+}

+ 1
- 0
user.js View File

117
 user_pref("browser.shopping.experience2023.enabled", false);
117
 user_pref("browser.shopping.experience2023.enabled", false);
118
 user_pref("browser.urlbar.pocket.featureGate", false);
118
 user_pref("browser.urlbar.pocket.featureGate", false);
119
 user_pref("browser.urlbar.trending.featureGate", false);
119
 user_pref("browser.urlbar.trending.featureGate", false);
120
+user_pref("browser.privatebrowsing.vpnpromourl", ""); // hide private browsing promo
120
 
121
 
121
 /* Telemetry */
122
 /* Telemetry */
122
 user_pref("datareporting.policy.dataSubmissionEnabled", false);
123
 user_pref("datareporting.policy.dataSubmissionEnabled", false);

Loading…
Cancel
Save