From a9290d6f2352a98a20892fb8f3e448ae22409992 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Fri, 22 May 2015 20:43:20 +0200
Subject: [PATCH] Abrowser: Disable newtab What is this popup and config button

---
 helpers/make-firefox | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/helpers/make-firefox b/helpers/make-firefox
index 3c81daa8..778943f0 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -189,6 +189,13 @@ echo "debian/search/* /usr/lib/abrowser-addons/searchplugins" >> debian/abrowser
 cp $DATA/aboutabrowser@trisquel.info -r debian
 echo "debian/aboutabrowser@trisquel.info @MOZ_ADDONDIR@/extensions/" >> debian/abrowser.install.in
 
+# Disable newtab "What is this" popup and config button
+cat << EOF >> ./browser/base/content/newtab/newTab.css
+#newtab.customize.what, #newtab.customize.button {
+display:none;
+}
+EOF
+
 # Disable search field at extensions panel
 #sed  '/header-search/d; /search.placeholder/d' -i toolkit/mozapps/extensions/content/extensions.xul
 cat << EOF >> toolkit/mozapps/extensions/content/extensions.css
-- 
GitLab