Adding DuckDuckGo properly to Firefox

January 3, 2021

Needed to re-add DuckDuckGo search to Firefox manually.

Install Add-on

Install Add custom search engine addon from

Get search parameters

Navigate to, enter the Settings page, click “Show Bookmarklet and Settings Data”, copy the “Bookmarklet URL”. For me, it looks like:…

Enter info in addon

Open the interface to add a new search engine by locating the blue looking glass icon in the menu bar (Not in Firefox Settings! It is an addon with its own interface).

With %s substituted for the search term, add the following as search URL in the addon:….

We do not need to use POST queries here.

The icon is available at favicon.ico

Then check “Advanced settings”.

The “Suggest URL” for auto-suggestions in the search bar is{searchTerms} (Yes, {searchTerms} this time instead of %s).

Give the engine a name, e.g. “DDG”, then hit “Add custom search engine, then, on the next page, follow the instruction to add the search engine. You may also set DDG as the default in Firefox search settings.

Full OpenSearch XML

<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="">
<Image height="16" width="16"></Image>
<Url type="text/html" method="GET" template="{searchTerms}&amp;kah=de-de&amp;kl=de-de&amp;k5=2&amp;k1=-1&amp;kk=-1&amp;kaj=m&amp;kay=b&amp;kak=-1&amp;kax=-1&amp;kaq=-1&amp;kap=-1&amp;kao=-1&amp;kau=-1&amp;kt=n&amp;kae=-1&amp;ks=m&amp;kw=w&amp;ka=n&amp;kd=-1"/>
<Url type="application/x-suggestions+json" method="GET" template="{searchTerms}"/>