Skip to content

Instantly share code, notes, and snippets.

@hardikpandya
Last active December 17, 2015 23:49
Show Gist options
  • Save hardikpandya/5692558 to your computer and use it in GitHub Desktop.
Save hardikpandya/5692558 to your computer and use it in GitHub Desktop.
<form method="get" id="search" action="http://duckduckgo.com/">
<input type="hidden" name="sites"value="hardikpandya.com"/>
<input type="hidden" name="ka" value="h"/>
<input type="hidden" name="k7" value="#fafafa"/>
<input type="hidden" name="kj" value="#3f3f3f"/>
<input type="hidden" name="ky" value="#fafafa"/>
<input type="hidden" name="kx" value="b"/>
<input type="hidden" name="kt" value="Helvetica"/>
<input type="text" name="q" maxlength="255" placeholder="Search"/>
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
</form>
@TheChen5
Copy link

Hello, I just want to say that this was very helpful.
I was trying to make my own DuckDuckGo search box to search my site.
I tried to find something about searching a website at https://duckduckgo.com/params by I couldn't find anything.
I at last found it when DDG gave me a link to your website (http://hardik.org/2013/06/01/stylising-duckduckgo-site-search/).
Thank you for your information!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment