Duck Duck Go Zero-click info jQuery Plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
README.md
jquery.ddg.js

README.md

Duck Duck Go Zero Info search box

I always wanted to do a jQuery plugin. Now, it's done !

This is a jQuery plugin for Duck Duck Go Zero-click Info API. For those who are not familiar with Duck Duck Go, it's my new favorite search engine. Go try it !

It provides a box with some basic info (like... From wolfram alpha, wikipedia etc.).

I will make some tests to make it better (but I don't like tests... Sorry) and add more parameters soon. Stay tuned !

And don't forget to use Duck Duck Go !

I want to use it (like a boss)

First, include jQuery. Then, get the plugin and include it. You should have something like this:

<script type='text/javascript' src='/path/to/jquery.min.js'></script> <script type='text/javascript' src='/path/to/jquery.ddg.min.js'></script>

Then, create a div in your html page, and DDGize it using :

<script type='text/javascript'> $(function() { $('#search-ddg').ddg({secure:true}); }); </script> That's it ! ## I want to customize it (like a boss) Later son, later. For now, there are 2 parameters: * secure : true or false. To use https or simple http to call the Duck Duck Go service * width : define the width of the searchbox + results window ## I want to try it (like a boss) Yep. [Here](http://dev.federalbureauofinhumanity.org/jddg/v0.3/demo/) - v0.3 The version here is commented, the downloadable version is not. You can choose the version you want. ## I want to say something (like a boss) You can contact me at siegfried.ehret@gmail.com Please write "jddg" or something in your subject. ## I want to read the license (like a boss) This plugin is licensed under the terms of the WTF Public License (see [here](http://en.wikipedia.org/wiki/WTFPL) and [here](http://sam.zoy.org/wtfpl/)) :
            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
                    Version 2, December 2004 

Copyright (C) 2004 Sam Hocevar sam@hocevar.net

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.