I’m not interested in being an advertising product for Google to exploit. I’m also not interested in the company’s unsavory practices, in general. I’ve been using DuckDuckGo for over a year now, and I’m incredibly happy with it as a replacement for Google Search — not only for personal usage, but also for implementing a custom search component for this site.
Why not Google Search?
Google no longer provides you with a simple list of ranked results. To become a major player in the attention economy, Google Search must track you across the web and mine your personal information to provide you with “personalized results” and to sell your information to advertisers. Google can now even track your offline purchases — that is, at physical stores in the real world. Pretty creepy. The company strongly emphasizes how they’ve done this securely, to protect users — but that’s beside the point for me. I do not want this intrusion into my daily, offline life.
Google’s enormity gives it undue influence on content providers and publishers. In particular, Google AMP results, which are diplayed prominently in search, threaten the web at a fundamental level.
The lack of ethics codified into Google search are disappointing and irresponsible. Google has positioned itself as the digital arbiter of truth. However, this is undermined by its pursuit to grab a slice of the attention economy, which requires curating unique search results for each user. This combined with an absence of fact-checking produces outcomes that range from unfortunate to alarming to horrifying. Google’s curated results have the power to shape and distort people’s views. That’s an ethical problem.
I’ll give them credit though. Google has worked to address some of the problems in the articles that I’ve linked to above. However, the company’s financial incentives remain the same as far as I can tell. As long as they are beholden to satisfying advertisers and scrounging for users’ attention, I’m not hopeful that the trolls won’t find new ways to turn the search engine into an alt-right propaganda machine again.
Update 17 March 2021
In completely unsurprising news, Google’s search results have gotten worse over time. And while I’m here — updating this post 3 years later — I have to say, DuckDuckGo has been great. I have no complaints.
Benefits of DuckDuckGo
You can usually find out a lot about a person from their search history.
— Gabriel Weinberg, DuckDuckGo Privacy
Gabriel Weinberg has a rather comprehensive list of reasons to use DuckDuckGo. I won’t bother reiterating each of them, but I will highlight one of my favorite features — !bangs, which let you search other sites directly. For example, you can type
!giphy oh yeah into DuckDuckGo and land directly on Giphy’s search results for “oh yeah”.
Quality of search
After over a year of using DuckDuckGo, I think search quality is excellent. At times it could be better, but that’s a trade-off that I’m willing to make for privacy and a more ethical product. Overall, I’m incredibly happy using DuckDuckGo. If you aren’t satisfied with DuckDuckGo’s results, you can always
Implementing a custom search box
Google allows you to create a free custom search component and embed it into your site, which I used here before switching to DuckDuckGo. You enter your site url, configure some settings, and then grab the code snippet to embed it. It sounds simple, but it is actually a heavy-handed and cumbersome script-based approach. It’s an exercise in pain to customize the appearance, and it won’t appear when using most ad-blockers.
Creating a custom DuckDuckGo search is much simpler. They provide an
<iframe> snippet, which is not ideal. Luckily, you can create and style your own search box with basic html forms — something Google doesn’t offer.
<form name="search" action="//duckduckgo.com/"> <div class="form-group"> <div class="input-group"> <input type="search" class="form-control" placeholder="DuckDuckGo" name="q"> <input type="hidden" value="jessesquires.com" name="sites"> <input type="hidden" value="1" name="kh"> <input type="hidden" value="1" name="kn"> <input type="hidden" value="1" name="kac"> <input type="hidden" value="1" name="kc"> <span class="input-group-btn"> <button class="btn btn-default" type="submit">Search</button> </span> </div> </div> </form>
This adds a basic form with a few custom URL parameters and custom styling using bootstrap. You can add this to your own site by replacing
jessesquires.com on line 5 with your own domain. You can see and use my custom search here.
You can find the diff on GitHub for deleting Google custom search and replacing it with DuckDuckGo. It’s much more elegant, lightweight, and just looks better.
Thanks to Stuard Colville for his helpful post on doing this without using iframes.
Making the switch
If you value privacy and the open web, it’s time to switch. By supporting DuckDuckGo, you will only help improve their service. Contrary to what most giant tech companies would have you believe, it is possible to build a great service without exploiting users’ privacy and personal information.
Update 09 June 2021
Bing was caught blocking results for Tiananmen Square protests in Hong Kong. Per Gabriel Weinberg: “China banned DuckDuckGo in 2014 and we have no plans to change that.”
It is rare to see a tech company not cooperate with authoritarian governments.
Update 23 October 2021
A new report by Thomas Brewster at Forbes: “The U.S. government is secretly ordering Google to provide data on anyone typing in certain search terms, an accidentally unsealed court document shows. There are fears such ‘keyword warrants’ threaten to implicate innocent Web users in serious crimes and are more common than previously thought.”
@DuckDuckGo: “Google complies with invasive ‘keyword warrants’ that identify anyone who searched for a term. DuckDuckGo doesn’t have any search histories by design and, bc of that, has had 0 search warrants (of any kind) since our founding in 2008.”
Good to know.