Search box options

There are a few posts on the forum about how to integrate a duckduckgo search box, like this one:

Alas, the URL
https://duckduckgo.com/search_box
reverts to
https://duckduckgo.com
And the various posts on the forum with examples seem to no longer have the duckduckgo search bar.
Does anyone know if duckduckgo removed this functionality or how to do this nowadays? Thanks!

It is not very elegant, and it takes you away from write.as
It’ll have to do for now:

<form class="ddg" name="x" action="//duckduckgo.com/"> <input type="hidden" value="YOURBLOGURL" name="sites"></input> <input type="hidden" value="1" name="kh"></input> <input type="hidden" value="1" name="kn"></input> <input type="hidden" value="1" name="kac"></input> <input type="search" placeholder="YOURTEXTSTRING" name="q"></input><button class="button" type="submit">duckduckgo</button></form>

Any alternative suggestions?

The inelegant form doesn’t even display for me. For example, I added this to my signature configuration:

<form class="ddg" name="x" action="//duckduckgo.com/"> <input type="hidden" value="https://underlap.org" name="sites"></input> <input type="hidden" value="1" name="kh"></input> <input type="hidden" value="1" name="kn"></input> <input type="hidden" value="1" name="kac"></input> <input type="search" placeholder="search terms..." name="q"></input><button class="button" type="submit">duckduckgo</button></form>

When I view the page source of a post, I see just this:

     duckduckgo

So it seems as if writefreely is stripping out most of the form. Anyone have an alternative solution?