Merge pull request #13 from bGZo/main

firefox opensearch 支持
This commit is contained in:
KoriIku 2024-10-10 00:46:24 +08:00 committed by GitHub
commit 7f887e439c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Luxirty Search">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Luxirty Search</title>
<meta name="description" content="Luxirty Search 为专业人士优化,去除内容农场,无广告,简洁,快。">

8
public/opensearch.xml Normal file
View File

@ -0,0 +1,8 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Luxirty Search</ShortName>
<Description>Luxirty Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">/favicon.ico</Image>
<Url type="text/html" method="get" template="https://search.luxirty.com/search?q={searchTerms}"/>
<moz:SearchForm>/search</moz:SearchForm>
</OpenSearchDescription>