Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OpenSearch descriptor for the Arch User Repository (AUR)
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="">
<LongName>Arch User Repository</LongName>
<Image height="16" width="16" type="image/x-icon"></Image>
<Image height="64" width="64" type="image/png"></Image>
<Url type="text/html" template="">
<Param name="O" value="0"/>
<Param name="K" value="{searchTerms}"/>
Suggestions don’t work as of 2019-05-31;
the expected response (["pac", ["pacfoo", "pacbar"]])
does not match the actual response (["pacfoo", "pacbar"])
<Url rel="suggestions" type="application/x-suggestions+json"
<Param name="v" value="5"/>
<Param name="type" value="suggest"/>
<Param name="arg" value="{searchTerms}"/>
Copy link

claui commented Oct 2, 2021

To add this search extension to Firefox:

  1. Navigate to about:config.
  2. Set the preference to true.
  3. Open Browser Console.
    Caution: that’s not the Developer Tools console. It’s something entirely different.
  4. Paste the following code snippet into the Browser Console:
    + '/raw/f6c9fc6323c5cc01821be72e73f2177fc5d08a35/opensearch-aur.xml',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment