In Ubuntu 14.04, when I do a search in Firefox using either the address bar or the search bar, the system always adds t=canonical
to my searches. So the full string becomes: https://duckduckgo.com/?q=cat+cooking+salmon&t=canonical
.
However, if I perform the same search by going directly to the search engine, i.e. typing the search engine name and doing the search from the presented search box, this does not happen. In this case the string is: https://duckduckgo.com/?q=cat+cooking+salmon
.
How do I stop Ubuntu/Firefox from adding t=canonical
to my search queries? And, why is this behavior there in the first place?
Edit for 20.04
Below are before and after pictures:
Source:DuckDuckGo Forums
Read the output from
apt-cache show xul-ext-ubufox
. Here's a partial quote:Note the third-last line.
As for why, Canonical may earn some revenue but that's just speculation.
I am using Firefox 60.0.1 on Xubuntu 16.04.4 (64-bit). I had the same problem you face. The chosen answer provided by Mitch did not work for me. Instead, I resolved the issue by following this procedure:
The string,
&t=canonical
, ceased to insert itself into my searches via the address bar thereafter.I cannot tell you why the behaviour is there in the first place.
OK, this is how I did it successfully.
Purged Firefox with
and installed it from Mozilla's website in
/opt/firefox
.Created a symbollic link by
Replaced the newly created
something.release
folder in~/.mozilla/firefox
with the one from my existing old profile making sure the name is exactly the same (rename the old release folder as the new one and then delete the latter).Created a new application shortcut.
All my previous user information and settings are preserved.
The above answers not working on a new versions of firefox. Because of that I recommend downloading firefox from official website and making a symlink
To remove "canonical" and other non-standard ubuntu things from firefox search string, delete contents of "/usr/lib/firefox/distribution/searchplugins/locale/" directory.