Skip to content

Commit

Permalink
Merge pull request #13 from bGZo/main
Browse files Browse the repository at this point in the history
firefox opensearch 支持
  • Loading branch information
KoriIku authored Oct 9, 2024
2 parents 344ad44 + 24f6159 commit 7f887e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 为专业人士优化,去除内容农场,无广告,简洁,快。">
Expand Down
8 changes: 8 additions & 0 deletions public/opensearch.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 7f887e4

Please sign in to comment.