Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
DDGG: Duck Duck Go + Google Suggest in Danish
<?xml version="1.0"?>
<OpenSearchDescription xmlns="">
<ShortName>Duck Duck Go + Google Suggest</ShortName>
<Description>Duck Duck Go + Google Suggest</Description>
<Image height="16" width="16" type="image/x-icon"></Image>
<Url type="text/html" method="get" template="{searchTerms}"/>
<Url type="application/x-suggestions+json" template=";q={searchTerms}&amp;hl=da"/>
<Url rel="suggestions" type="application/x-suggestions+xml" template="{searchTerms}&amp;client=ie8&amp;mw={ie:maxWidth}&amp;sh={ie:sectionHeight}&amp;rh={ie:rowHeight}&amp;inputencoding={inputEncoding}&amp;outputencoding={outputEncoding}&amp;hl=da" />
<!DOCTYPE html>
<title>Danish Duck Duck Go + Google Suggest OpenSearch Plugin</title>
<link rel="search" id="xml-direct" type="application/opensearchdescription+xml" title="Direct Duck Duck Go + Google Suggest (Danish)" href="" >
<h1>Danish Duck Duck Go + Google Suggest OpenSearch Plugin</h1>
<p>Install via the search box or <a href="#">click here</a>.</p>
<script src=""></script>
<script type="text/javascript">
function installSearchEngine(url) {
if (window.external && ("AddSearchProvider" in window.external)) {
window.external.AddSearchProvider( url );
} else {
alert("your browser doesn't appear to support installing opensearch plugins via javascript");
installSearchEngine( $('#xml-direct').attr("href") );

This comment has been minimized.

Copy link
Owner Author

@nfriedly nfriedly commented May 6, 2012

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.