如何从在 DuckDuckGo 上进行的 Firefox 浏览器搜索中删除“t=canonical”?

Dan*_*iel 32 firefox canonical search

在 Ubuntu 14.04 中,当我使用地址栏或搜索栏在 Firefox 中进行搜索时,系统总是会添加t=canonical到我的搜索中。所以完整的字符串变成:https://duckduckgo.com/?q=cat+cooking+salmon&t=canonical.

但是,如果我通过直接转到搜索引擎来执行相同的搜索,即输入搜索引擎名称并从显示的搜索框中进行搜索,则不会发生这种情况。在这种情况下,字符串是:https://duckduckgo.com/?q=cat+cooking+salmon

去 DuckDuckGo 直接搜索

如何阻止 Ubuntu/Firefox 添加t=canonical到我的搜索查询?而且,首先为什么会出现这种行为?

Mit*_*tch 36

&t=

通过与开发人员和公司的合作,DuckDuckGo 已集成到许多应用程序中。在这些合作伙伴关系中,有时会分享 DuckDuckGo 的一部分广告收入。为了分配广告收入并收集匿名聚合使用信息,开发人员向通过其应用程序进行的搜索添加了唯一的“&t=”参数。

如果要删除它,请编辑文件:

/usr/lib/firefox/distribution/searchplugins/locale/*language-here*
Run Code Online (Sandbox Code Playgroud)

编辑所有语言只是为了确定。

在此处输入图片说明

20.04 编辑

  1. 打开 Firefox,导航到 Preferences --> Search,然后删除每个安装的 DuckDuckGo 搜索引擎
  2. 从 Firefox 附加组件目录下载新的搜索引擎。在首选项中选择它作为默认搜索引擎。此后,&t=canonícal 字符串不再通过地址栏将自身插入到搜索中。在Komalleana Byzantis 的帮助

下面是之前和之后的照片:

在此处输入图片说明

在此处输入图片说明

来源:DuckDuckGo 论坛

  • 所以是 Canonical(Ubuntu 父级)获得收入,而不是 FF 首先发起搜索? (3认同)

DK *_*ose 7

从 读取输出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
Run Code Online (Sandbox Code Playgroud)

注意倒数第三行。

至于为什么,Canonical 可能会获得一些收入,但这只是猜测。