Abrowser: disable ddg affiliate tag

This commit is contained in:
Ruben Rodriguez 2020-07-27 19:57:53 -04:00
parent e3ccfaddc2
commit 5d6b11235d
2 changed files with 4 additions and 4 deletions

View file

@ -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");

View file

@ -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