summaryrefslogtreecommitdiff
path: root/makeicecat
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2017-04-15 00:28:23 -0400
committerRuben Rodriguez <ruben@gnu.org>2017-04-15 00:28:23 -0400
commitf67c589162250621df56087884794f1645878774 (patch)
treee8ad61d90b71deb8ab9eca38659a8babf331ac29 /makeicecat
parent9c9f24054fa2d9b71fbb08afe9211eb054e083c4 (diff)
Hide plugindeprecation-notice, warnings on unsigned extensions, and extra links in about box
Diffstat (limited to 'makeicecat')
-rw-r--r--makeicecat7
1 files changed, 7 insertions, 0 deletions
diff --git a/makeicecat b/makeicecat
index cbf58e0..7d7b720 100644
--- a/makeicecat
+++ b/makeicecat
@@ -317,6 +317,13 @@ sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ hr
# Custom logo for about:preferences?entrypoint=menupanel#sync
cp $DATA/branding/sync.png browser/themes/shared/fxa/logo.png
+# Hide plugindeprecation-notice
+echo "#plugindeprecation-notice { display: none !important; }" >> toolkit/mozapps/extensions/content/extensions.css
+# Hide warnings on unsigned extensions
+echo ".warning{display: none!important; } .addon[notification=warning]{background-image: none!important;}" >> toolkit/mozapps/extensions/content/extensions.css
+# Hide extra links in about box
+sed '/releaseNotes.link/d; /helpus/d' -i ./browser/base/content/aboutDialog.xul
+
###############################################################################
# Batch rebranding
###############################################################################