Added duckduckgo search engine

This commit is contained in:
Jan Horak 2012-11-07 16:36:55 +01:00
parent d5c6caa569
commit 0e0f022bf9

47
firefox-duckduckgo.patch Normal file
View File

@ -0,0 +1,47 @@
diff -r f2fa4ae74ee1 browser/locales/en-US/chrome/browser-region/region.properties
--- a/browser/locales/en-US/chrome/browser-region/region.properties Mon Oct 24 22:54:18 2011 +0300
+++ b/browser/locales/en-US/chrome/browser-region/region.properties Tue Oct 25 21:13:40 2011 -0400
@@ -1,15 +1,16 @@
# Default search engine
browser.search.defaultenginename=Google
# Search engine order (order displayed in the search bar dropdown)s
browser.search.order.1=Google
browser.search.order.2=Yahoo
browser.search.order.3=Bing
+browser.search.order.4=DuckDuckGo
# This is the default set of web based feed handlers shown in the reader
# selection UI
browser.contentHandlers.types.0.title=Google
browser.contentHandlers.types.0.uri=http://fusion.google.com/add?feedurl=%s
browser.contentHandlers.types.1.title=My Yahoo!
browser.contentHandlers.types.1.uri=http://add.my.yahoo.com/rss?url=%s
diff -r f2fa4ae74ee1 browser/locales/en-US/searchplugins/duckduckgo.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/browser/locales/en-US/searchplugins/duckduckgo.xml Tue Oct 25 21:13:40 2011 -0400
@@ -0,0 +1,11 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
+ <ShortName>DuckDuckGo</ShortName>
+ <Description>We believe you can get better search and privacy at the same time.</Description>
+ <InputEncoding>UTF-8</InputEncoding>
+ <Image height="16" width="16" type="image/x-icon">data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAANcNAADXDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJyDsJmlk8pf6+v3s/v7+++zr/fcnIOyzJyDsgCcg7CYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnIOwBJyDscCcg7PZttJ7/7Pfs//////++xO7/S5GA/ycg7P8nIOz2JyDscCcg7AE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AAAAAAAAAAAAAAAAAAAAAAAAAJyDsJicg7IAnIOyzJyDs5icg7OYnIOyzJyDsgCcg7CYAAAAAAAAAAAAAAAAAAAAA+B8AAPAPAADAAwAAwAMAAIABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAACAAQAAwAMAAMADAADwDwAA+B8AAA==</Image>
+ <Url type="text/html" method="GET" template="https://duckduckgo.com/">
+ <Param name="q" value="{searchTerms}"/>
+ <Param name="t" value="fedora"/>
+ </Url>
+ <SearchForm>https://duckduckgo.com/</SearchForm>
+</SearchPlugin>
diff -r f2fa4ae74ee1 browser/locales/en-US/searchplugins/list.txt
--- a/browser/locales/en-US/searchplugins/list.txt Mon Oct 24 22:54:18 2011 +0300
+++ b/browser/locales/en-US/searchplugins/list.txt Tue Oct 25 21:13:40 2011 -0400
@@ -1,7 +1,8 @@
amazondotcom
bing
+duckduckgo
eBay
google
twitter
wikipedia
yahoo