summaryrefslogtreecommitdiff
path: root/libre/iceweasel
diff options
context:
space:
mode:
authorgrizzlyuser <grizzlyuser@protonmail.com>2020-08-02 21:07:31 +0300
committerbill-auger <mr.j.spam.me@gmail.com>2020-08-11 09:55:28 -0400
commitee6c1ec5dfa88b636e89a4f3994cab96ee863fe4 (patch)
treec491ea8ed827581999e1e1bb435dbfad4592c5c5 /libre/iceweasel
parent32f3b81e31a8cfca03c50b48317ddfc39389a26e (diff)
downloadabslibre-ee6c1ec5dfa88b636e89a4f3994cab96ee863fe4.tar.gz
abslibre-ee6c1ec5dfa88b636e89a4f3994cab96ee863fe4.tar.bz2
abslibre-ee6c1ec5dfa88b636e89a4f3994cab96ee863fe4.zip
libre/iceweasel: use DuckDuckGo HTML search
It looks like not all JavaScript that is available on the regular DuckDuckGo page is free software. They have many projects in their repos, but some of the JS from the search page has no clear licensing info. So replaced the URL of the default search engine to HTML version that currently doesn't have any JS at all.
Diffstat (limited to 'libre/iceweasel')
-rw-r--r--libre/iceweasel/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD
index 736e2b0ff..6aa80a8a6 100644
--- a/libre/iceweasel/PKGBUILD
+++ b/libre/iceweasel/PKGBUILD
@@ -281,6 +281,7 @@ END
pushd browser/components/search/extensions
sed -i "${_remove_engines_sed}" list.json
+ sed -i 's|https://duckduckgo.com/|https://html.duckduckgo.com/html/|' ddg/manifest.json
# Sanity-check search-engines patching
_removed_engines_regex='Bing|Google|Seznam|Twitter|Yahoo|Yandex|Яндекс|amazon|bing|google|ebay|twitter'