Abrowser: fixed automated connection and unbranding

This commit is contained in:
Ruben Rodriguez 2019-03-26 21:44:52 -04:00
parent 048feb78b7
commit dff8f675f8
2 changed files with 6 additions and 4 deletions

View file

@ -101,6 +101,8 @@ pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
pref("browser.safebrowsing.enabled", false); pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false); pref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.malware.enabled", false); pref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("services.sync.privacyURL", "https://trisquel.info/en/legal"); pref("services.sync.privacyURL", "https://trisquel.info/en/legal");
pref("social.enabled", false); pref("social.enabled", false);
pref("social.remote-install.enabled", false); pref("social.remote-install.enabled", false);

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# #
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2008-2019 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info> # Copyright (C) 2015 Santiago Rodriguez <santi@trisquel.info>
# #
# This program is free software; you can redistribute it and/or modify # 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 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=60 VERSION=61
. ./config . ./config
@ -239,12 +239,12 @@ done
for STRING in rights-intro-point-2 rights-intro-point-3 rights-intro-point-4 rights-intro-point-5 rights-intro-point-6 rights-webservices rights-safebrowsing for STRING in rights-intro-point-2 rights-intro-point-3 rights-intro-point-4 rights-intro-point-5 rights-intro-point-6 rights-webservices rights-safebrowsing
do do
find -name aboutRights.ftl | xargs sed -i "s/^$STRING.*/$STRING = \"\">/" find -name aboutRights.ftl | xargs sed -i "s/^$STRING.*/$STRING = /"
done done
for STRING in helpus community-2 community-exp for STRING in helpus community-2 community-exp
do do
find -name aboutDialog.ftl | xargs sed -i "s/^$STRING.*/$STRING = \"\">/" find -name aboutDialog.ftl | xargs sed -i "s/^$STRING.*/$STRING = /"
done done
sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g' browser/base/content/overrides/app-license.html sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g' browser/base/content/overrides/app-license.html