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

Abrowser: disable ddg affiliate tag

parent e3ccfadd
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ pref("pfs.datasource.url", "https://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIM
pref("pfs.filehint.url", "https://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
// I'm feeling Ducky.
pref("keyword.URL", "https://duckduckgo.com/?t=trisquel&q=!+");
pref("keyword.URL", "https://duckduckgo.com/?q=!+");
pref("browser.search.defaultenginename", "DuckDuckGo");
pref("browser.search.order.1", "DuckDuckGo");
pref("browser.search.defaultenginename", "DuckDuckGo");
......
......@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=72
VERSION=73
. ./config
......@@ -93,8 +93,8 @@ rm debian/patches/ubuntu-bookmarks*
find debian/searchplugins |grep google| xargs -i /bin/sed '/ubuntu/d; /channel/d' -i {}
find debian/searchplugins |grep amazon| xargs -i /bin/sed '/canoniccom/d;' -i {}
#Replace canonical referer with our own for duckduckgo
find |grep -e duckduckgo.xml -e ddg.xml | xargs -i /bin/sed 's/canonical/trisquel/' -i {}
#Disable canonical referrer on DDG
sed 's/&t=canonical//' -i debian/searchplugins/ddg.xml
# Make DuckDuckGo the default engine
rm debian/patches/no-region-overrides-for-google-search.patch debian/patches/partially-revert-google-search-update.patch
......
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