diff --git a/helpers/DATA/firefox/settings.js b/helpers/DATA/firefox/settings.js index 24012f3ad557a5cd6763fbbd38cb45f3dc109b4d..53481fb7201bd03c6a84d062395f26b89f088c4f 100644 --- a/helpers/DATA/firefox/settings.js +++ b/helpers/DATA/firefox/settings.js @@ -1,4 +1,7 @@ +// Enable hello +pref("loop.throttled", false); + // Release notes and vendor URLs pref("app.releaseNotesURL", "http://trisquel.info/browser"); pref("app.vendorURL", "http://trisquel.info/browser"); @@ -11,6 +14,11 @@ pref("pfs.filehint.url", "http://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETY pref("keyword.URL", "https://duckduckgo.com/?t=trisquel&q=!+"); pref("browser.search.defaultenginename", "DuckDuckGo (SSL)"); pref("browser.search.order.extra.duckduckgo", "DuckDuckGo (SSL)"); +pref("browser.search.showOneOffButtons", false); +pref("browser.search.suggest.enabled",false); +// Disable preconnecting to search engine when clicking on the search bar +//pref("network.http.speculative-parallel-limit", 0); + // Disable plugin installer pref("plugins.hide_infobar_for_missing_plugin", true); @@ -99,7 +107,7 @@ pref("social.toast-notifications.enabled", false); pref("datareporting.healthreport.uploadEnabled", false); pref("datareporting.healthreport.service.enabled", false); pref("browser.slowStartup.notificationDisabled", true); -pref("network.http.sendRefererHeader", 0); +pref("network.http.sendRefererHeader", 2); //http://grack.com/blog/2010/01/06/3rd-party-cookies-dom-storage-and-privacy/ //pref("dom.storage.enabled", false); pref("dom.event.clipboardevents.enabled",false); @@ -110,6 +118,10 @@ pref("toolkit.telemetry.enabled", false); // Do not tell what plugins do we have enabled: https://mail.mozilla.org/pipermail/firefox-dev/2013-November/001186.html pref("plugins.enumerable_names", ""); pref("plugin.state.flash", 1); +// Don't download ads for the newtab page +pref("browser.newtabpage.directory.source", ""); +pref("browser.newtabpage.directory.ping", ""); +pref("browser.newtabpage.introShown", true); // Services @@ -132,7 +144,7 @@ pref("security.tls.version.min", 1); // Do not autoupdate search engines pref("browser.search.update", false); // Warn when the page tries to redirect or refresh -pref("accessibility.blockautorefresh", true); +//pref("accessibility.blockautorefresh", true); // Disable channel updates pref("app.update.enabled", false); diff --git a/helpers/make-firefox b/helpers/make-firefox index 2ad81a0e5fb4a77e529feada7e0281763dda5800..d22cb9d87d52dab4c728d34732fe34abe941e37c 100644 --- a/helpers/make-firefox +++ b/helpers/make-firefox @@ -1,6 +1,6 @@ #!/bin/bash # -# Copyright (C) 2008-2012 Ruben Rodriguez <ruben@trisquel.info> +# Copyright (C) 2008-2014 Ruben Rodriguez <ruben@trisquel.info> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=33 +VERSION=35 . ./config @@ -29,10 +29,8 @@ patch -p1 < $DATA/enable-js-options.patch # js settings cat $DATA/settings.js >> debian/vendor-firefox.js -# Make ubufox mandatory -#sed 's/Depends: lsb-release,/Depends: lsb-release, xul-ext-ubufox,/' -i debian/control.in -#sed 's/iceweasel,/iceweasel, firefox, icecat,/' -i debian/control.in - +# Replace ubufox recommendation +sed 's/xul-ext-ubufox/xul-ext-youtube-html5-video-player/' -i debian/control.in sed '/mozilla.org\/legal/d' -i services/healthreport/healthreport-prefs.js cat << EOF >>services/healthreport/healthreport-prefs.js