Login

Search DjangoSnippets with Firefox

Author:
Natim
Posted:
September 16, 2009
Language:
HTML/template
Version:
Not specified
Score:
5 (after 5 ratings)

You have to put this code in your searchengines Firefox folder in a file called djangosnippets.xml

After restarting Firefox, you will be able to seek DjangoSnippets very easily.

I also create a favicon.ico since djangosnippets.org didn't have one ...

Path example : /usr/lib/iceweasel/searchplugins/djangosnippets.xml

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>DjangoSnippets</ShortName>
<Description>Google DjangoSnippets Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgLgMAJjkUACxAGgAnRi4AP2AwADNjWwB+hW4AQIiWAJOaiQBGnbkAtLquAFG76gDP08wA3N/dAPb59wAAAAAAMxMTMTExMiQQAAAAAAAAAwAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAa7u0AEwAAAI7G7gW5swAA3hDuAACVEADeIN4AObMAAI7Y7gO3EAAACO7uBbADAAAQAN4Am7MAAAAA7gAAAAAAAACqAAAAABAAAAAAAAASQhERERERESQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image>
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}+site:djangosnippets.org"/>
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}+site:djangosnippets.org"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/firefox</SearchForm>
</SearchPlugin>

More like this

  1. Bootstrap Accordian by Netplay4 7 years, 9 months ago
  2. Bootstrap theme for django-endless-pagination? by se210 10 years, 9 months ago
  3. Bootstrap theme for django-endless-pagination? by se210 10 years, 9 months ago
  4. Reusable form template with generic view by roldandvg 10 years, 10 months ago
  5. Pagination Django with Boostrap by guilegarcia 11 years ago

Comments

Please login first before commenting.