Text

Using DuckDuckGo as a link dropper

Update 1/27/2012: The new short URL for DDG is http://ddg.gg so use that in place of http://dukgo.com

I’m often chatting with someone or sending an email and I want to link them to a search for something, or even just the first result in a search for something. For example, if someone asks me what I use to take screenshots, I could link them to the first search result for “lookit screenshot.” The problem is, I don’t want to actually have to run the search and copy the link address for this.

So, since I’ve been using DuckDuckGo lately instead of Google, I looked there for a solution. Turns out it’s simple.

  • DDG has a shortened URL at http://dukgo.com that’s quicker to type
  • You can type http://dukgo.com/whatever to run a search for whatever
  • If you want to search multiple words, separate them with an underscore (e.g. http://dukgo.com/something_else)
  • If you want to link to the first result instead of the search, preface it with “f/” (e.g. dukgo.com/f/something_else)

So there you go. In the first example, I could just shoot my friend the link http://dukgo.com/f/lookit_screenshot to link him to the first result for a search for “lookit screenshot.” Big time saver.

Text

Why I’m using DuckDuckGo instead of Google

DuckDuckGo is now my default search, both in the browser and on my phone. Here’s why:

!Bang syntax

DDG has a cool little feature that lets you search tons of websites directly, using !websitename. For example, if you want to search Drupal.org directly, type “!drupal whatever search terms” and you will be taken to a Drupal.org search for “whatever search terms.” This works on tons of sites.

First result jumping

The vast majority of my Google searches just led me to clicking the first result. On DDG, you can add a backslash (“") to the beginning of your sites to jump directly to the first result. This is a small thing, but it’s been great for me.

Zero-click info

I often Google something I’ve never heard of just to figure out what the crap it is. This usually involves clicking through to a Wikipedia page about it. DDG instead will give you a few sentences about that thing at the top of the search, before the results. It gets this info from sites like Wikipedia, StackOverflow, GitHub (DDG is obviously pretty programmer-oriented), LyricsMode, etc. It’s a big time saver for me.

Lots of useful special queries

Get a random number from 1-10 by typing “rand 1 10” or generate a 15 character password by typing “pw 15” or run a hash by typing “md5 whatever” or count calories by typing “calories in 2 eggs” etc. Lots of great stuff going on here. Here’s some more info.

Surprisingly good results

My main hesitation about switching was just that nobody could beat the big G when it came to giving me good search results. I’m actually pleasantly surprised with how good DDG’s results have been so far. The majority of my searches are technical, programming related things, and I remember reading somewhere on Hacker News that this is one of DDG’s primary focuses (like I said, it’s very programmer related).

That said, if you do want to search google, just type “!g search terms” to search Google using the bang syntax.

Useful options

On the settings page, you can select whether to open links in new tabs, whether to display favicons or WOT (trust) ratings beside links, whether to auto-load more results when you reach the bottom of the page, etc. Lots of useful things. You can even configure colors and fonts if you’re into that kind of thing.

The warm fuzzy feeling

DDG feels sort of personal or cozy somehow. It feels like you’re doing something good, like you’re sticking it to the man.

Give it a shot! Make it your browser’s default search engine for a few days and see what you think.

Text

Making the most of browser custom search engines

Firefox, Chrome, and Opera (and maybe even IE, I’m not sure), all support pretty sophisticated custom search engines and shortcuts, allowing you to search sites pretty easily with just a shortcut key. These are useful for far more than you might think at first glance.

Let’s start boring and take the classic search example: Google. Say you want to search Google by typing “g searchterm” in your address bar (assuming browser didn’t already let you search Google). To do this, you’d create a new custom search, add the shortcut key (“g”) and the URL (http://www.google.com/search?q=%s - note that the %s will get replaced with your search term) and save it. Now type “g awesome” and you will Google the word “awesome.” Meh, right?

Here’s the good part: this isn’t just useful for searching. Since all you’re doing is just sticking a custom word or phrase at an arbitrary location in an arbitrary URL, you can get kind of fancy with it.

Here are some quick examples:

See what I mean? If you frequently type in URLs that have a predictable structure, this can be a huge time saver.

Bonus: you can just remove %s from the URL altogether to have instant keyword-accessible bookmarks.