Skip to content

Instantly share code, notes, and snippets.

@boogah boogah/ddg_form.txt
Created Jan 24, 2012

Embed
What would you like to do?
DuckDuckGo Search Form
<form method="get" action="http://duckduckgo.com/"
onsubmit="document.getElementById('ddgsearchinput').value+=' site:example.com'">
<input type="search" id="ddgsearchinput" name="q" size="24"/>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.