Skip to content
Snippets Groups Projects
Commit 74e414b8 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Firefox: hidden unnecessary upstream links

parent f8168e2d
No related branches found
No related tags found
1 merge request!183Fix geoip-database-contrib
#!/bin/bash
#
# Copyright (C) 2008-2016 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2008-2017 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
......@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=47
VERSION=48
. ./config
......@@ -195,8 +195,14 @@ cat << EOF >> toolkit/mozapps/extensions/content/extensions.css
}
EOF
# Disable mobile promo
sed '/fxaMobilePromo/,/label>$/d' -i browser/components/preferences/in-content/sync.xul
# Hide mobile promo
echo ".fxaMobilePromo { display: none !important; }" >> browser/themes/shared/incontentprefs/preferences.inc.css
# 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
find -wholename '*/brand.dtd' |xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "">/' -i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment