Abrowser: disable ddg affiliate tag
This commit is contained in:
parent
e3ccfaddc2
commit
5d6b11235d
2 changed files with 4 additions and 4 deletions
|
|
@ -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%");
|
pref("pfs.filehint.url", "https://trisquel.info/sites/pfs.php?mime=%PLUGIN_MIMETYPE%");
|
||||||
|
|
||||||
// I'm feeling Ducky.
|
// 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.defaultenginename", "DuckDuckGo");
|
||||||
pref("browser.search.order.1", "DuckDuckGo");
|
pref("browser.search.order.1", "DuckDuckGo");
|
||||||
pref("browser.search.defaultenginename", "DuckDuckGo");
|
pref("browser.search.defaultenginename", "DuckDuckGo");
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=72
|
VERSION=73
|
||||||
|
|
||||||
. ./config
|
. ./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 google| xargs -i /bin/sed '/ubuntu/d; /channel/d' -i {}
|
||||||
find debian/searchplugins |grep amazon| xargs -i /bin/sed '/canoniccom/d;' -i {}
|
find debian/searchplugins |grep amazon| xargs -i /bin/sed '/canoniccom/d;' -i {}
|
||||||
|
|
||||||
#Replace canonical referer with our own for duckduckgo
|
#Disable canonical referrer on DDG
|
||||||
find |grep -e duckduckgo.xml -e ddg.xml | xargs -i /bin/sed 's/canonical/trisquel/' -i {}
|
sed 's/&t=canonical//' -i debian/searchplugins/ddg.xml
|
||||||
|
|
||||||
# Make DuckDuckGo the default engine
|
# Make DuckDuckGo the default engine
|
||||||
rm debian/patches/no-region-overrides-for-google-search.patch debian/patches/partially-revert-google-search-update.patch
|
rm debian/patches/no-region-overrides-for-google-search.patch debian/patches/partially-revert-google-search-update.patch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue