问题描述
在Ubuntu 14.04中,当我使用地址栏或搜索栏在Firefox中进行搜索时,系统始终将t=canonical
添加到我的搜索中。因此完整的字符串变为:https://duckduckgo.com/?q=cat+cooking+salmon&t=canonical
。
但是,如果我直接进入搜索引擎来执行相同的搜索,即键入搜索引擎名称并从显示的搜索框中进行搜索,则不会发生这种情况。在这种情况下,字符串为:https://duckduckgo.com/?q=cat+cooking+salmon
。
如何阻止Ubuntu /Firefox将t=canonical
添加到我的搜索查询中?而且,为什么这种行为首先存在?
最佳方案
&t=
Through partnerships with developers and companies, DuckDuckGo has been integrated into many applications. In these partnerships, a portion of DuckDuckGo’s advertising revenue is sometimes shared back. To assign advertising revenue and collect anonymous aggregate usage information, developers add a unique “&t=” parameter to searches made through their applications.
If you want to remove it, edit the file:
/usr/lib/firefox/distribution/searchplugins/locale/*language-here*
Edit all the languages just to be sure.
次佳方案
读取apt-cache show xul-ext-ubufox
的输出。这是部分报价:
Package: xul-ext-ubufox
Priority: optional
Section: web
Installed-Size: 378
Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>
Architecture: all
Source: ubufox
Version: 2.8-0ubuntu1
Replaces: ubufox (<< 0.9~rc2-0ubuntu3)
Provides: firefox-ubufox, ubufox
Depends: aptdaemon, libglib2.0-0 (>= 2.26)
Recommends: firefox (>= 9.0)
...
Description-en: Ubuntu-specific configuration defaults and apt support for Firefox
Adds Ubuntu-specific modifications to Firefox.
.
Integrates the browser with Ubuntu to:
* Enable searching for missing plugins from Ubuntu software catalog
* Add the following options to the Help menu
- Get help on-line
- Help translating Firefox
- Ubuntu Release Notes
* Set homepage to Ubuntu Start Page
* Display a restart notification after upgrading Firefox
* Add ask.com to the search engines.
.
You can uninstall this if you prefer to use a pristine Firefox install.
Enhances: firefox
Homepage: https://launchpad.net/ubufox
注意third-last行。
至于为什么,Canonical可能会赚一些钱,但这仅仅是猜测。