Skip to content

Instantly share code, notes, and snippets.

@austing
Forked from doyousketch2/opensearch.xml
Last active February 14, 2022 20:27
Show Gist options
  • Save austing/e0e1216d1bbbfb61354087c54f85fac3 to your computer and use it in GitHub Desktop.
Save austing/e0e1216d1bbbfb61354087c54f85fac3 to your computer and use it in GitHub Desktop.
Add Firefox search for CNRTL Synonymie
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html -->
<ShortName>CNRTL Synonymie</ShortName>
<Description>CNRTL Synonymie Recherche</Description>
<Url type="text/html" method="get" template="https://cnrtl.fr/synonymie/{searchTerms}"/>
<Image width="16" height="16" type="image/x-icon">https://cnrtl.fr/favicon.ico</Image>
<InputEncoding>UTF-8</InputEncoding>
<moz:SearchForm>https://cnrtl.fr/</moz:SearchForm>
<moz:UpdateUrl>https://cnrtl.fr/opensearch.xml</moz:UpdateUrl>
<moz:IconUpdateUrl>https://cnrtl.fr/favicon.ico</moz:IconUpdateUrl>
<moz:UpdateInterval>7</moz:UpdateInterval>
</OpenSearchDescription>
@austing
Copy link
Author

austing commented Feb 14, 2022

https://gist.githubusercontent.com/austing/e0e1216d1bbbfb61354087c54f85fac3/raw/1350710826dd1ca042bca69dbc3abd59d2441fdd/opensearch.xml

From original:

Right-click any page from https://www.etymonline.com/
Inspect Element
Right-click <head> Edit as HTML
add this line of code between <head> and <meta>:

<link rel="search" type="application/opensearchdescription+xml" title="Online Etymology Dictionary" href="https://git.io/vb7xB">

Click outside of edit-box, and close the Developer Tools popup window.
Tap the green + in your search bar to add the search plugin.

Ours will be:

<link rel="search" type="application/opensearchdescription+xml" title="CNRTL Synonymie" href="https://gist.githubusercontent.com/austing/e0e1216d1bbbfb61354087c54f85fac3/raw/1350710826dd1ca042bca69dbc3abd59d2441fdd/opensearch.xml">

<link rel="search" type="application/opensearchdescription+xml" title="CNRTL Synonymie" href="https://gist.githubusercontent.com/austing/e0e1216d1bbbfb61354087c54f85fac3/raw/1350710826dd1ca042bca69dbc3abd59d2441fdd/opensearch.xml">

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