summaryrefslogtreecommitdiff
path: root/libre/iceweasel
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-20 14:47:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-10-20 14:47:54 -0300
commitf4a348e3560774b930d0ebbddb4deea4edec7bee (patch)
tree0017d4d11ef683b3199702d1b74046225066137c /libre/iceweasel
parentb95b41b1b911cc5b463820128716d55a76b63f7b (diff)
ice{cat,weasel}: use Free Software Directory preferences for the Get Add-ons panel
Diffstat (limited to 'libre/iceweasel')
-rw-r--r--libre/iceweasel/PKGBUILD11
-rw-r--r--libre/iceweasel/vendor.js4
2 files changed, 5 insertions, 10 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index ad28c4bfe..5db8dd1b4 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -61,7 +61,7 @@ sha256sums=('707d44ac9a73868c5f2fe1832945ae66b297a8b7eaee3d45a43ab767fe9447cc'
'56eba484179c7f498076f8dc603d8795e99dce8c6ea1da9736318c59d666bff6'
'2257dc69886bd0b72c48675a27c3a88b9cf6b598252c9e9f1c99763180684fc3'
'3aea6676f1e53a09673b6ae219d281fc28054beb6002b09973611c02f827651d'
- 'b078b1abbbcda77a0d116878b999496e65f6cff9cf60e0fbb7ce6977f767f1de'
+ 'af4e91893aa01d5f1cbd16f48ed118b344b86bedf5d1d52e68ff19ffec03e1d6'
'68e3a5b47c6d175cc95b98b069a15205f027cab83af9e075818d38610feb6213')
prepare() {
@@ -97,15 +97,6 @@ prepare() {
sed -i '\|abouthome/snippet|d
' browser/base/jar.mn
- # Replace common URLs
- sed -i '\|extensions[.]getAddons[.]get[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|https://trisquel.info/en/browser");|g;
- \|extensions[.]getAddons[.]search[.]browseURL| s|https://addons[.]mozilla[.]org.\+["][)][;]|https://trisquel.info/en/browser");|g;
- \|extensions[.]getAddons[.]search[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|https://trisquel.info/en/browser");|g;
- \|extensions[.]webservice[.]discoverURL| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|https://trisquel.info/en/browser");|g;
- \|browser[.]search[.]searchEnginesURL| s|https://addons[.]mozilla[.]org.\+["][)][;]|https://trisquel.info/en/browser");|g;
- \|plugins[.]update[.]url| s|https://www[.]mozilla[.]org/[%]LOCALE[%]/plugincheck/["][)][;]|https://trisquel.info/en/browser");|g;
- ' browser/app/profile/firefox.js
-
# Load our build config, disable SafeSearch
cp "$srcdir/mozconfig" .mozconfig
diff --git a/libre/iceweasel/vendor.js b/libre/iceweasel/vendor.js
index 39f38088f..a32721594 100644
--- a/libre/iceweasel/vendor.js
+++ b/libre/iceweasel/vendor.js
@@ -149,6 +149,10 @@ pref("browser.search.update", false);
pref("app.update.enabled", false);
pref("app.update.auto", false);
+// Preferences for the Get Add-ons panel
+pref ("extensions.webservice.discoverURL", "https://directory.fsf.org/wiki/GNU_IceCat");
+pref ("extensions.getAddons.search.url", "https://directory.fsf.org/wiki/GNU_IceCat");
+
// Mobile
pref("privacy.announcements.enabled", false);
pref("browser.snippets.enabled", false);