mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
d01f56ea03
Added <meta name="referrer" content="no-referrer"> to all whoogle templates Refactored search route to use conditionally use either request.args or request.form, depending on rest call (get vs post respectively)
14 lines
753 B
XML
14 lines
753 B
XML
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
|
|
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
|
<ShortName>Whoogle</ShortName>
|
|
<Description>Whoogle: A lightweight, deployable Google search proxy for desktop/mobile that removes Javascript, AMP links, and ads</Description>
|
|
<InputEncoding>UTF-8</InputEncoding>
|
|
<Image width="32" height="32" type="image/x-icon">/static/img/favicon/favicon-32x32.png</Image>
|
|
<Url type="text/html" method="post" template="{{ main_url }}/search">
|
|
<Param name="q" value="{searchTerms}"/>
|
|
</Url>
|
|
<Url type="application/x-suggestions+json" template="{{ main_url }}/search"/>
|
|
<moz:SearchForm>{{ main_url }}/search</moz:SearchForm>
|
|
</OpenSearchDescription>
|
|
|