Home

Geeklog: What I Learnt Today / Adam

Add Wolfram Alpha as a search engine in Firefox

> I wanted to add Wolfram Alpha as an alternative search engine in my firefox, I couldn't find anyone who had done that.
Turns out you can add any search engine you like if you add a search engine. If you save the code from github here as wolframalpha.xml and save it in (on a mac) to
/Applications/Firefox.app/Contents/MacOS/searchplugins/wolframalpha.xml

Not sure quite where that file location is on Windows/Linux but guess its a similar path within the program.
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Wolfram Alpha</ShortName>
<Description>Wolfram Alpha Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">http://www.wolframalpha.com/favicon_calculate.png</Image>
<Url type="application/x-suggestions+json" method="GET" template="http://www.wolframalpha.com/input/autocomplete.jsp?qr=0&i={searchTerms}" />
<Url type="text/html" method="GET" template="https://www.wolframalpha.com/input/?i={searchTerms}">
 <Param name="i" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.wolframalpha.com</SearchForm>
</SearchPlugin>

/ Adam