PJ568 hace 1 año
commit
d0c251ea1c
Se han modificado 5 ficheros con 1215 adiciones y 0 borrados
  1. 26 0
      CONTRIBUTING.md
  2. 427 0
      LICENSE
  3. 19 0
      README.en.md
  4. 19 0
      README.md
  5. 724 0
      index.html

+ 26 - 0
CONTRIBUTING.md

@@ -0,0 +1,26 @@
+# 贡献指北
+
+## 项目版本管理
+
+我们使用[语义化版本](https://semver.org/lang/zh-CN/)进行版本管理。
+任何对代码库的更改都不应使用现有版本发布。
+
+## 提交信息格式
+
+提交信息应遵循 [PJ568 提交说明规范](https://github.com/PJ-568/git-commit-regulation)。
+
+## 提交更改
+
+1. Fork 此仓库,在您的仓库新建一个基于此仓库默认分支(branch)的分支。
+2. 在该新建分支对项目进行更改,确保语法不存在问题后应用更改您的仓库。
+3. 向我们的仓库提交拉取请求。请确保您遵循了上述说明。
+4. 我们将定期审查拉取请求,并告知您我们的问题以及在合并您的拉取请求之前需要进行的任何更改。
+5. 我们希望您在 15 日内作出回应,之后如果没有显示活动,您的拉取请求可能会被关闭。
+
+### 注意事项
+
+- 单次 Pull Request 不应提交过多修改,请确保每次提交都针对特定的功能且务必说明本次改动的具体目的,例如:修复某 bug 、优化某方法 等,方便进行 Code Review;
+- 对于 bug 的修复,应该将本次 Pull Request 和相对应 bug 的 issue 关联起来,让别人知道该问题已经被修复;
+- 对于较大的新功能,你需要先提交 Issues,例如 “【新增】添加 XXX 功能”,确认该功能有被添加的必要后,再开始工作;
+- 对于一些主观的样式、交互逻辑调整:如颜色、图标的使用,某些预设配置的增减修改等,一般不予通过。但可以在 Discussions 中进行讨论;
+- 其他如简单的代码优化、文档修正等,只要修改合理都会被接受。

+ 427 - 0
LICENSE

@@ -0,0 +1,427 @@
+Attribution-ShareAlike 4.0 International
+
+=======================================================================
+
+Creative Commons Corporation ("Creative Commons") is not a law firm and
+does not provide legal services or legal advice. Distribution of
+Creative Commons public licenses does not create a lawyer-client or
+other relationship. Creative Commons makes its licenses and related
+information available on an "as-is" basis. Creative Commons gives no
+warranties regarding its licenses, any material licensed under their
+terms and conditions, or any related information. Creative Commons
+disclaims all liability for damages resulting from their use to the
+fullest extent possible.
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and
+conditions that creators and other rights holders may use to share
+original works of authorship and other material subject to copyright
+and certain other rights specified in the public license below. The
+following considerations are for informational purposes only, are not
+exhaustive, and do not form part of our licenses.
+
+     Considerations for licensors: Our public licenses are
+     intended for use by those authorized to give the public
+     permission to use material in ways otherwise restricted by
+     copyright and certain other rights. Our licenses are
+     irrevocable. Licensors should read and understand the terms
+     and conditions of the license they choose before applying it.
+     Licensors should also secure all rights necessary before
+     applying our licenses so that the public can reuse the
+     material as expected. Licensors should clearly mark any
+     material not subject to the license. This includes other CC-
+     licensed material, or material used under an exception or
+     limitation to copyright. More considerations for licensors:
+	wiki.creativecommons.org/Considerations_for_licensors
+
+     Considerations for the public: By using one of our public
+     licenses, a licensor grants the public permission to use the
+     licensed material under specified terms and conditions. If
+     the licensor's permission is not necessary for any reason--for
+     example, because of any applicable exception or limitation to
+     copyright--then that use is not regulated by the license. Our
+     licenses grant only permissions under copyright and certain
+     other rights that a licensor has authority to grant. Use of
+     the licensed material may still be restricted for other
+     reasons, including because others have copyright or other
+     rights in the material. A licensor may make special requests,
+     such as asking that all changes be marked or described.
+     Although not required by our licenses, you are encouraged to
+     respect those requests where reasonable. More_considerations
+     for the public: 
+	wiki.creativecommons.org/Considerations_for_licensees
+
+=======================================================================
+
+Creative Commons Attribution-ShareAlike 4.0 International Public
+License
+
+By exercising the Licensed Rights (defined below), You accept and agree
+to be bound by the terms and conditions of this Creative Commons
+Attribution-ShareAlike 4.0 International Public License ("Public
+License"). To the extent this Public License may be interpreted as a
+contract, You are granted the Licensed Rights in consideration of Your
+acceptance of these terms and conditions, and the Licensor grants You
+such rights in consideration of benefits the Licensor receives from
+making the Licensed Material available under these terms and
+conditions.
+
+
+Section 1 -- Definitions.
+
+  a. Adapted Material means material subject to Copyright and Similar
+     Rights that is derived from or based upon the Licensed Material
+     and in which the Licensed Material is translated, altered,
+     arranged, transformed, or otherwise modified in a manner requiring
+     permission under the Copyright and Similar Rights held by the
+     Licensor. For purposes of this Public License, where the Licensed
+     Material is a musical work, performance, or sound recording,
+     Adapted Material is always produced where the Licensed Material is
+     synched in timed relation with a moving image.
+
+  b. Adapter's License means the license You apply to Your Copyright
+     and Similar Rights in Your contributions to Adapted Material in
+     accordance with the terms and conditions of this Public License.
+
+  c. BY-SA Compatible License means a license listed at
+     creativecommons.org/compatiblelicenses, approved by Creative
+     Commons as essentially the equivalent of this Public License.
+
+  d. Copyright and Similar Rights means copyright and/or similar rights
+     closely related to copyright including, without limitation,
+     performance, broadcast, sound recording, and Sui Generis Database
+     Rights, without regard to how the rights are labeled or
+     categorized. For purposes of this Public License, the rights
+     specified in Section 2(b)(1)-(2) are not Copyright and Similar
+     Rights.
+
+  e. Effective Technological Measures means those measures that, in the
+     absence of proper authority, may not be circumvented under laws
+     fulfilling obligations under Article 11 of the WIPO Copyright
+     Treaty adopted on December 20, 1996, and/or similar international
+     agreements.
+
+  f. Exceptions and Limitations means fair use, fair dealing, and/or
+     any other exception or limitation to Copyright and Similar Rights
+     that applies to Your use of the Licensed Material.
+
+  g. License Elements means the license attributes listed in the name
+     of a Creative Commons Public License. The License Elements of this
+     Public License are Attribution and ShareAlike.
+
+  h. Licensed Material means the artistic or literary work, database,
+     or other material to which the Licensor applied this Public
+     License.
+
+  i. Licensed Rights means the rights granted to You subject to the
+     terms and conditions of this Public License, which are limited to
+     all Copyright and Similar Rights that apply to Your use of the
+     Licensed Material and that the Licensor has authority to license.
+
+  j. Licensor means the individual(s) or entity(ies) granting rights
+     under this Public License.
+
+  k. Share means to provide material to the public by any means or
+     process that requires permission under the Licensed Rights, such
+     as reproduction, public display, public performance, distribution,
+     dissemination, communication, or importation, and to make material
+     available to the public including in ways that members of the
+     public may access the material from a place and at a time
+     individually chosen by them.
+
+  l. Sui Generis Database Rights means rights other than copyright
+     resulting from Directive 96/9/EC of the European Parliament and of
+     the Council of 11 March 1996 on the legal protection of databases,
+     as amended and/or succeeded, as well as other essentially
+     equivalent rights anywhere in the world.
+
+  m. You means the individual or entity exercising the Licensed Rights
+     under this Public License. Your has a corresponding meaning.
+
+
+Section 2 -- Scope.
+
+  a. License grant.
+
+       1. Subject to the terms and conditions of this Public License,
+          the Licensor hereby grants You a worldwide, royalty-free,
+          non-sublicensable, non-exclusive, irrevocable license to
+          exercise the Licensed Rights in the Licensed Material to:
+
+            a. reproduce and Share the Licensed Material, in whole or
+               in part; and
+
+            b. produce, reproduce, and Share Adapted Material.
+
+       2. Exceptions and Limitations. For the avoidance of doubt, where
+          Exceptions and Limitations apply to Your use, this Public
+          License does not apply, and You do not need to comply with
+          its terms and conditions.
+
+       3. Term. The term of this Public License is specified in Section
+          6(a).
+
+       4. Media and formats; technical modifications allowed. The
+          Licensor authorizes You to exercise the Licensed Rights in
+          all media and formats whether now known or hereafter created,
+          and to make technical modifications necessary to do so. The
+          Licensor waives and/or agrees not to assert any right or
+          authority to forbid You from making technical modifications
+          necessary to exercise the Licensed Rights, including
+          technical modifications necessary to circumvent Effective
+          Technological Measures. For purposes of this Public License,
+          simply making modifications authorized by this Section 2(a)
+          (4) never produces Adapted Material.
+
+       5. Downstream recipients.
+
+            a. Offer from the Licensor -- Licensed Material. Every
+               recipient of the Licensed Material automatically
+               receives an offer from the Licensor to exercise the
+               Licensed Rights under the terms and conditions of this
+               Public License.
+
+            b. Additional offer from the Licensor -- Adapted Material.
+               Every recipient of Adapted Material from You
+               automatically receives an offer from the Licensor to
+               exercise the Licensed Rights in the Adapted Material
+               under the conditions of the Adapter's License You apply.
+
+            c. No downstream restrictions. You may not offer or impose
+               any additional or different terms or conditions on, or
+               apply any Effective Technological Measures to, the
+               Licensed Material if doing so restricts exercise of the
+               Licensed Rights by any recipient of the Licensed
+               Material.
+
+       6. No endorsement. Nothing in this Public License constitutes or
+          may be construed as permission to assert or imply that You
+          are, or that Your use of the Licensed Material is, connected
+          with, or sponsored, endorsed, or granted official status by,
+          the Licensor or others designated to receive attribution as
+          provided in Section 3(a)(1)(A)(i).
+
+  b. Other rights.
+
+       1. Moral rights, such as the right of integrity, are not
+          licensed under this Public License, nor are publicity,
+          privacy, and/or other similar personality rights; however, to
+          the extent possible, the Licensor waives and/or agrees not to
+          assert any such rights held by the Licensor to the limited
+          extent necessary to allow You to exercise the Licensed
+          Rights, but not otherwise.
+
+       2. Patent and trademark rights are not licensed under this
+          Public License.
+
+       3. To the extent possible, the Licensor waives any right to
+          collect royalties from You for the exercise of the Licensed
+          Rights, whether directly or through a collecting society
+          under any voluntary or waivable statutory or compulsory
+          licensing scheme. In all other cases the Licensor expressly
+          reserves any right to collect such royalties.
+
+
+Section 3 -- License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the
+following conditions.
+
+  a. Attribution.
+
+       1. If You Share the Licensed Material (including in modified
+          form), You must:
+
+            a. retain the following if it is supplied by the Licensor
+               with the Licensed Material:
+
+                 i. identification of the creator(s) of the Licensed
+                    Material and any others designated to receive
+                    attribution, in any reasonable manner requested by
+                    the Licensor (including by pseudonym if
+                    designated);
+
+                ii. a copyright notice;
+
+               iii. a notice that refers to this Public License;
+
+                iv. a notice that refers to the disclaimer of
+                    warranties;
+
+                 v. a URI or hyperlink to the Licensed Material to the
+                    extent reasonably practicable;
+
+            b. indicate if You modified the Licensed Material and
+               retain an indication of any previous modifications; and
+
+            c. indicate the Licensed Material is licensed under this
+               Public License, and include the text of, or the URI or
+               hyperlink to, this Public License.
+
+       2. You may satisfy the conditions in Section 3(a)(1) in any
+          reasonable manner based on the medium, means, and context in
+          which You Share the Licensed Material. For example, it may be
+          reasonable to satisfy the conditions by providing a URI or
+          hyperlink to a resource that includes the required
+          information.
+
+       3. If requested by the Licensor, You must remove any of the
+          information required by Section 3(a)(1)(A) to the extent
+          reasonably practicable.
+
+  b. ShareAlike.
+
+     In addition to the conditions in Section 3(a), if You Share
+     Adapted Material You produce, the following conditions also apply.
+
+       1. The Adapter's License You apply must be a Creative Commons
+          license with the same License Elements, this version or
+          later, or a BY-SA Compatible License.
+
+       2. You must include the text of, or the URI or hyperlink to, the
+          Adapter's License You apply. You may satisfy this condition
+          in any reasonable manner based on the medium, means, and
+          context in which You Share Adapted Material.
+
+       3. You may not offer or impose any additional or different terms
+          or conditions on, or apply any Effective Technological
+          Measures to, Adapted Material that restrict exercise of the
+          rights granted under the Adapter's License You apply.
+
+
+Section 4 -- Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that
+apply to Your use of the Licensed Material:
+
+  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
+     to extract, reuse, reproduce, and Share all or a substantial
+     portion of the contents of the database;
+
+  b. if You include all or a substantial portion of the database
+     contents in a database in which You have Sui Generis Database
+     Rights, then the database in which You have Sui Generis Database
+     Rights (but not its individual contents) is Adapted Material,
+
+     including for purposes of Section 3(b); and
+  c. You must comply with the conditions in Section 3(a) if You Share
+     all or a substantial portion of the contents of the database.
+
+For the avoidance of doubt, this Section 4 supplements and does not
+replace Your obligations under this Public License where the Licensed
+Rights include other Copyright and Similar Rights.
+
+
+Section 5 -- Disclaimer of Warranties and Limitation of Liability.
+
+  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
+     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
+     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
+     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
+     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
+     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
+     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
+     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
+     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
+     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
+
+  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
+     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
+     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
+     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
+     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
+     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
+     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
+     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
+     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
+
+  c. The disclaimer of warranties and limitation of liability provided
+     above shall be interpreted in a manner that, to the extent
+     possible, most closely approximates an absolute disclaimer and
+     waiver of all liability.
+
+
+Section 6 -- Term and Termination.
+
+  a. This Public License applies for the term of the Copyright and
+     Similar Rights licensed here. However, if You fail to comply with
+     this Public License, then Your rights under this Public License
+     terminate automatically.
+
+  b. Where Your right to use the Licensed Material has terminated under
+     Section 6(a), it reinstates:
+
+       1. automatically as of the date the violation is cured, provided
+          it is cured within 30 days of Your discovery of the
+          violation; or
+
+       2. upon express reinstatement by the Licensor.
+
+     For the avoidance of doubt, this Section 6(b) does not affect any
+     right the Licensor may have to seek remedies for Your violations
+     of this Public License.
+
+  c. For the avoidance of doubt, the Licensor may also offer the
+     Licensed Material under separate terms or conditions or stop
+     distributing the Licensed Material at any time; however, doing so
+     will not terminate this Public License.
+
+  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
+     License.
+
+
+Section 7 -- Other Terms and Conditions.
+
+  a. The Licensor shall not be bound by any additional or different
+     terms or conditions communicated by You unless expressly agreed.
+
+  b. Any arrangements, understandings, or agreements regarding the
+     Licensed Material not stated herein are separate from and
+     independent of the terms and conditions of this Public License.
+
+
+Section 8 -- Interpretation.
+
+  a. For the avoidance of doubt, this Public License does not, and
+     shall not be interpreted to, reduce, limit, restrict, or impose
+     conditions on any use of the Licensed Material that could lawfully
+     be made without permission under this Public License.
+
+  b. To the extent possible, if any provision of this Public License is
+     deemed unenforceable, it shall be automatically reformed to the
+     minimum extent necessary to make it enforceable. If the provision
+     cannot be reformed, it shall be severed from this Public License
+     without affecting the enforceability of the remaining terms and
+     conditions.
+
+  c. No term or condition of this Public License will be waived and no
+     failure to comply consented to unless expressly agreed to by the
+     Licensor.
+
+  d. Nothing in this Public License constitutes or may be interpreted
+     as a limitation upon, or waiver of, any privileges and immunities
+     that apply to the Licensor or You, including from the legal
+     processes of any jurisdiction or authority.
+
+
+=======================================================================
+
+Creative Commons is not a party to its public
+licenses. Notwithstanding, Creative Commons may elect to apply one of
+its public licenses to material it publishes and in those instances
+will be considered the “Licensor.” The text of the Creative Commons
+public licenses is dedicated to the public domain under the CC0 Public
+Domain Dedication. Except for the limited purpose of indicating that
+material is shared under a Creative Commons public license or as
+otherwise permitted by the Creative Commons policies published at
+creativecommons.org/policies, Creative Commons does not authorize the
+use of the trademark "Creative Commons" or any other trademark or logo
+of Creative Commons without its prior written consent including,
+without limitation, in connection with any unauthorized modifications
+to any of its public licenses or any other arrangements,
+understandings, or agreements concerning use of licensed material. For
+the avoidance of doubt, this paragraph does not form part of the
+public licenses.
+
+Creative Commons may be contacted at creativecommons.org.

+ 19 - 0
README.en.md

@@ -0,0 +1,19 @@
+# Search Yourself
+
+> English | [简体中文](README.md)
+
+Created for those who always ask simple questions that can be easily answered by searching or asking LLM AI.
+
+A tool to quickly generate search instruction pages for humans who are unwilling or unable to search for themselves.
+
+## Usage
+
+1. Visit `index.html`;
+2. Enter search content;
+3. Click the search button;
+4. Copy the generated link;
+5. Send the link to humans who are unwilling or unable to search themselves.
+
+## License
+
+[Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/)

+ 19 - 0
README.md

@@ -0,0 +1,19 @@
+# 自己搜去
+
+> [English](README.en.md) | 简体中文
+
+总有人问一些简单搜索或问大语言模型 AI 就能找到答案的简单问题。特做此项目。
+
+给不愿意或不会自己搜索的人类,快速生成教他们搜索页面的工具。
+
+## 使用方法
+
+1. 访问 `index.html`;
+2. 输入搜索内容;
+3. 点击搜索按钮;
+4. 复制生成的链接;
+5. 转发给不愿意或不会自己搜索的人类。
+
+## 许可证
+
+[Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/)

+ 724 - 0
index.html

@@ -0,0 +1,724 @@
+<!DOCTYPE html>
+<html lang="zh-Hans-CN">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=350px, initial-scale=1.0" />
+    <title>自己搜去</title>
+    <meta
+      name="description"
+      content="给不愿意或不会自己搜索的人类,快速生成教他们搜索页面的工具"
+    />
+    <meta name="repo" content="search-it-yourself" />
+    <meta name="author" content="wasteest, pj568" />
+    <meta name="license" content="cc by-sa 4.0" />
+    <link
+      rel="icon"
+      type="image/svg+xml"
+      href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E🔍%3C/text%3E%3C/svg%3E"
+    />
+    <style>
+      :root,
+      html {
+        padding: 0;
+        margin: 0;
+        height: 100%;
+      }
+
+      body {
+        margin: 0;
+        padding: 40px 20px;
+        font-family: Arial, sans-serif;
+        background-color: #e6e6e6;
+        color: #333333;
+      }
+
+      h1 {
+        text-align: center;
+        font-weight: bold;
+        color: #333333;
+      }
+
+      .search-container {
+        max-width: 600px;
+        margin: 20vh auto 0 auto;
+        text-align: center;
+      }
+
+      .search-form {
+        display: flex;
+        gap: 10px;
+        justify-content: center;
+        align-items: center;
+      }
+
+      .search-input {
+        padding: 12px;
+        font-size: 16px;
+        border: none;
+        background: #f5f5f5;
+        width: 300px;
+      }
+
+      .search-button {
+        padding: 12px 24px;
+        font-size: 16px;
+        border: none;
+        background: #888;
+        color: white;
+        cursor: pointer;
+
+        svg {
+          width: 16px;
+          height: 16px;
+        }
+      }
+
+      .search-button:hover {
+        background: #555;
+      }
+
+      /* 深色模式支持 */
+      @media (prefers-color-scheme: dark) {
+        :root,
+        html,
+        body {
+          background-color: #212121;
+          color: #f1f1f1;
+        }
+
+        h1 {
+          color: #f1f1f1;
+        }
+
+        .search-input {
+          background: #333333;
+          color: #f1f1f1;
+          border: 1px solid #555555;
+        }
+
+        .search-button {
+          background: #4a90e2;
+          color: #f1f1f1;
+          border: 1px solid #357abd;
+        }
+
+        .search-button:hover {
+          background: #357abd;
+        }
+      }
+
+      /* 搜索结果样式 */
+      .search-result {
+        margin-top: 30px;
+        text-align: center;
+      }
+
+      .result-code-block {
+        display: inline-block;
+        background: #f8f9fa;
+        border: 1px solid #e9ecef;
+        padding: 15px;
+        margin: 10px 0;
+        font-family: "Courier New", monospace;
+        font-size: 14px;
+        color: #495057;
+        cursor: pointer;
+        transition: all 0.2s ease;
+        max-width: 100%;
+        word-break: break-all;
+      }
+
+      .result-code-block:hover {
+        background: #e9ecef;
+        border-color: #adb5bd;
+      }
+
+      .result-code-block:active {
+        background: #dee2e6;
+        transform: scale(0.98);
+      }
+
+      .copy-notification {
+        position: fixed;
+        top: 20px;
+        right: 20px;
+        background: #1f512b;
+        color: white;
+        padding: 10px 20px;
+        font-size: 14px;
+        opacity: 0;
+        transition: opacity 0.3s ease;
+        z-index: 1000;
+      }
+
+      .copy-notification.show {
+        opacity: 1;
+      }
+
+      /* 深色模式下的搜索结果样式 */
+      @media (prefers-color-scheme: dark) {
+        .result-code-block {
+          background: #2d3748;
+          border-color: #4a5568;
+          color: #e2e8f0;
+        }
+
+        .result-code-block:hover {
+          background: #4a5568;
+          border-color: #718096;
+        }
+
+        .result-code-block:active {
+          background: #718096;
+        }
+      }
+
+      /* 有序列表样式 */
+      .list-div {
+        display: none;
+        background: #12121211;
+        max-width: 600px;
+        margin: 40px auto 0;
+        padding: 1rem;
+        position: relative;
+
+        a {
+          text-decoration: underline;
+          cursor: pointer;
+          position: absolute;
+          top: 1rem;
+          right: 1rem;
+        }
+      }
+
+      .list-div li {
+        margin-bottom: 1rem;
+        color: inherit;
+      }
+
+      .list-div li:last-child {
+        margin-bottom: 0;
+      }
+
+      .list-div li p {
+        margin: 0;
+        padding: 0;
+      }
+
+      /* 深色模式下的有序列表样式 */
+      @media (prefers-color-scheme: dark) {
+        .list-div {
+          background: #e9ecef11;
+        }
+
+        .list-div li {
+          color: #f1f1f1;
+        }
+      }
+
+      .cursor {
+        color: #333333;
+        display: none;
+        top: -24px;
+        left: -24px;
+        position: fixed;
+        width: 24px;
+        height: 24px;
+        z-index: 1000;
+        pointer-events: none;
+        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
+        filter: drop-shadow(0 0 0.3rem white);
+      }
+
+      .cursor.visible {
+        display: block;
+      }
+
+      .cursor.click {
+        animation: clickPulse 0.3s ease-in-out;
+      }
+
+      @keyframes clickPulse {
+        0% {
+          transform: scale(1);
+        }
+        50% {
+          transform: scale(1.2);
+        }
+        100% {
+          transform: scale(1);
+        }
+      }
+
+      /* 输入框焦点状态下的光标 */
+      .search-input.focused {
+        box-shadow: 0 0 0 2px #007bff;
+      }
+
+      /* 按钮点击效果 */
+      .search-button.clicked {
+        transform: scale(0.95);
+        transition: transform 0.1s ease;
+      }
+
+      /* 深色模式下的光标 */
+      @media (prefers-color-scheme: dark) {
+        .cursor {
+          color: #e9ecef;
+          filter: drop-shadow(0 0 0.3rem black);
+        }
+      }
+    </style>
+  </head>
+  <body>
+    <div class="search-container">
+      <h1>自己搜去</h1>
+      <form class="search-form" id="searchForm" action="javascript:void(0);">
+        <input
+          type="text"
+          class="search-input"
+          id="searchInput"
+          name="q"
+          placeholder="请输入搜索内容"
+          autofocus
+        />
+        <button type="submit" class="search-button">
+          <!-- MIT Copyright (c) 2018-2025 Tabler -->
+          <svg
+            xmlns="http://www.w3.org/2000/svg"
+            width="24"
+            height="24"
+            viewBox="0 0 24 24"
+            fill="none"
+            stroke="currentColor"
+            stroke-width="2"
+            stroke-linecap="round"
+            stroke-linejoin="round"
+            class="icon icon-tabler icons-tabler-outline icon-tabler-search"
+          >
+            <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+            <path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" />
+            <path d="M21 21l-6 -6" />
+          </svg>
+        </button>
+      </form>
+
+      <!-- 搜索结果显示区域 -->
+      <div class="search-result" id="searchResult" style="display: none">
+        <div class="result-code-block" id="resultLink" title="点击复制链接">
+          <!-- 搜索链接将在这里显示 -->
+        </div>
+      </div>
+    </div>
+
+    <!-- 复制成功提示 -->
+    <div class="copy-notification" id="copyNotification">
+      链接已复制到剪贴板!
+    </div>
+
+    <div class="list-div">
+      <ol>
+        <li>
+          <p>输入要搜索的内容;</p>
+        </li>
+        <li>
+          <p>点击搜索按钮;</p>
+        </li>
+        <li>
+          <p>将生成的链接复制到剪贴板,发给不愿意或不会自己搜索的人类。</p>
+        </li>
+      </ol>
+      <a
+        onclick="javascript:window.open('?q=Z2l0IHJlcG8gc2VhcmNoLWl0LXlvdXJzZWxmIHBqNTY4')"
+        >项目源码</a
+      >
+    </div>
+
+    <div class="cursor">
+      <!-- MIT Copyright (c) 2018-2025 Tabler -->
+      <svg
+        xmlns="http://www.w3.org/2000/svg"
+        width="24"
+        height="24"
+        viewBox="0 0 24 24"
+        fill="none"
+        stroke="currentColor"
+        stroke-width="2"
+        stroke-linecap="round"
+        stroke-linejoin="round"
+        class="icon icon-tabler icons-tabler-outline icon-tabler-pointer"
+      >
+        <path stroke="none" d="M0 0h24v24H0z" fill="none" />
+        <path
+          d="M7.904 17.563a1.2 1.2 0 0 0 2.228 .308l2.09 -3.093l4.907 4.907a1.067 1.067 0 0 0 1.509 0l1.047 -1.047a1.067 1.067 0 0 0 0 -1.509l-4.907 -4.907l3.113 -2.09a1.2 1.2 0 0 0 -.309 -2.228l-13.582 -3.904l3.904 13.563z"
+        />
+      </svg>
+    </div>
+
+    <script>
+      // 语言检测和翻译功能
+      function detectLanguage() {
+        // 获取浏览器语言偏好
+        const browserLang =
+          navigator.language || navigator.userLanguage || "zh-CN";
+
+        // 检查是否为英语(包含 en 开头的语言代码)
+        const isEnglish = browserLang.startsWith("en");
+
+        // 翻译映射
+        const translations = {
+          title: "Search It Yourself",
+          mainTitle: "Search It Yourself",
+          inputPlaceholder: "Enter search content",
+          copyNotification: "Link copied to clipboard!",
+          emptyInputAlert: "Please enter search content",
+          instruction1: "Enter the content to search;",
+          instruction2: "Click the search button;",
+          instruction3:
+            "Copy the generated link to clipboard and send it to people who are unwilling or unable to search themselves.",
+          projectSource: "Project Source Code",
+        };
+
+        // 如果是英语,则进行翻译
+        if (isEnglish) {
+          // 翻译页面标题
+          document.title = translations.title;
+
+          // 翻译主标题
+          const mainTitle = document.querySelector("h1");
+          if (mainTitle) {
+            mainTitle.textContent = translations.mainTitle;
+          }
+
+          // 翻译输入框占位符
+          const searchInput = document.getElementById("searchInput");
+          if (searchInput) {
+            searchInput.placeholder = translations.inputPlaceholder;
+          }
+
+          // 翻译复制成功提示
+          const copyNotification = document.getElementById("copyNotification");
+          if (copyNotification) {
+            copyNotification.textContent = translations.copyNotification;
+          }
+
+          // 翻译使用说明
+          const listDiv = document.querySelector(".list-div");
+          if (listDiv) {
+            const instructions = listDiv.querySelectorAll("p");
+            if (instructions.length >= 3) {
+              instructions[0].textContent = translations.instruction1;
+              instructions[1].textContent = translations.instruction2;
+              instructions[2].textContent = translations.instruction3;
+            }
+
+            // 翻译项目源码链接
+            const projectSourceLink = listDiv.querySelector("a");
+            if (projectSourceLink) {
+              projectSourceLink.textContent = translations.projectSource;
+            }
+          }
+        }
+
+        return isEnglish;
+      }
+
+      // 初始化时执行语言检测
+      document.addEventListener("DOMContentLoaded", function () {
+        detectLanguage();
+      });
+
+      // 获取页面元素
+      const searchForm = document.getElementById("searchForm");
+      const searchInput = document.getElementById("searchInput");
+      const searchResult = document.getElementById("searchResult");
+      const resultLink = document.getElementById("resultLink");
+      const copyNotification = document.getElementById("copyNotification");
+      const listDiv = document.querySelector(".list-div");
+      const cursor = document.querySelector(".cursor");
+      const searchButton = document.querySelector(".search-button");
+
+      // 光标动画函数
+      function moveCursorTo(element, callback, x = 0, y = 0) {
+        const rect = element.getBoundingClientRect();
+        const cursorRect = cursor.getBoundingClientRect();
+
+        // 计算光标应该移动到的位置(元素中心)
+        const targetX = rect.left + rect.width / 2 - cursorRect.width / 2 + x;
+        const targetY = rect.top + rect.height / 2 - cursorRect.height / 2 + y;
+
+        cursor.style.left = targetX + "px";
+        cursor.style.top = targetY + "px";
+
+        setTimeout(callback, 1000); // 等待移动动画完成
+      }
+
+      // 点击光标动画
+      function clickCursor(callback) {
+        cursor.classList.add("click");
+        setTimeout(() => {
+          cursor.classList.remove("click");
+          if (callback) callback();
+        }, 400);
+      }
+
+      // 逐字输入动画
+      function typeText(text, callback) {
+        let index = 0;
+        searchInput.value = "";
+
+        function typeNextChar() {
+          if (index < text.length) {
+            searchInput.value += text[index];
+            searchInput.dispatchEvent(new Event("input", { bubbles: true }));
+            index++;
+            setTimeout(typeNextChar, 100); // 每个字符间隔 100ms
+          } else {
+            if (callback) callback();
+          }
+        }
+
+        typeNextChar();
+      }
+
+      // 动画序列控制器
+      function runAnimationSequence(queryValue) {
+        // 显示光标
+        cursor.classList.add("visible");
+
+        // 步骤 1: 光标从右上角移动到搜索框
+        setTimeout(() => {
+          moveCursorTo(
+            searchInput,
+            () => {
+              // 步骤 2: 点击搜索框
+              clickCursor(() => {
+                searchInput.classList.add("focused");
+
+                // 等待焦点效果,然后开始输入
+                setTimeout(() => {
+                  // 步骤 3: 逐字输入查询内容
+                  typeText(decodeURIComponent(queryValue), () => {
+                    // 等待输入完成
+                    setTimeout(() => {
+                      // 步骤 4: 光标移动到搜索按钮
+                      moveCursorTo(
+                        searchButton,
+                        () => {
+                          // 步骤 5: 点击搜索按钮
+                          clickCursor(() => {
+                            searchButton.classList.add("clicked");
+
+                            // 等待点击效果,然后跳转
+                            setTimeout(() => {
+                              // 步骤 6: 跳转到bing搜索
+                              window.location.href = `https://bing.com/search?q=${queryValue}`;
+                            }, 200);
+                          });
+                        },
+                        searchButton.offsetWidth * 0.3,
+                        searchButton.offsetHeight * 0.3
+                      );
+                    }, 100);
+                  });
+                }, 300);
+              });
+            },
+            searchInput.offsetWidth * 0.4,
+            searchInput.offsetHeight * 0.3
+          );
+        }, 1000); // 1 秒后开始动画
+      }
+
+      // 页面初始化时检查参数 q 的值
+      function initializePage() {
+        const urlParams = new URLSearchParams(window.location.search);
+        let encodedQueryValue = urlParams.get("q");
+
+        // 对获取到的编码值进行 Base64 解码
+        let queryValue = "";
+        if (encodedQueryValue) {
+          try {
+            queryValue = decodeURIComponent(escape(atob(encodedQueryValue)));
+          } catch (error) {
+            // 如果解码失败,使用原始值(兼容旧链接)
+            queryValue = encodedQueryValue;
+          }
+        }
+
+        // 如果 q 参数无或空,显示 .list-div
+        if (!queryValue || queryValue.trim() === "") {
+          listDiv.style.display = "block";
+        } else {
+          // 隐藏默认光标
+          const style = document.createElement("style");
+          style.textContent = "*,html,:root { cursor: none !important; }";
+          document.head.appendChild(style);
+
+          // 阻止所有鼠标事件和键盘事件
+          document.addEventListener(
+            "click",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "mousedown",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "mouseup",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "mousemove",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "keydown",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "keyup",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          document.addEventListener(
+            "keypress",
+            function (e) {
+              e.preventDefault();
+              e.stopPropagation();
+              e.stopImmediatePropagation();
+            },
+            true
+          );
+
+          // 开始动画序列
+          runAnimationSequence(queryValue);
+        }
+      }
+      initializePage();
+
+      // 监听表单提交事件
+      searchForm.addEventListener("submit", function (event) {
+        event.preventDefault(); // 阻止表单默认提交行为
+
+        const searchValue = searchInput.value.trim();
+
+        // 检查输入框是否为空
+        if (!searchValue) {
+          alert(isEnglish ? "Please enter search content" : "请输入搜索内容");
+          return;
+        }
+
+        // 生成搜索链接,对搜索值进行 Base64 编码混淆
+        const currentUrl = window.location.href.split("?")[0]; // 获取当前页面路径,去除查询参数
+        const obfuscatedValue = btoa(unescape(encodeURIComponent(searchValue)));
+        const searchLink = `${currentUrl}?q=${encodeURIComponent(
+          obfuscatedValue
+        )}`;
+
+        // 在代码块中显示链接
+        resultLink.textContent = searchLink;
+        searchResult.style.display = "block";
+
+        // 滚动到结果区域
+        searchResult.scrollIntoView({ behavior: "smooth", block: "nearest" });
+      });
+
+      // 监听结果链接点击事件,实现复制功能
+      resultLink.addEventListener("click", async function () {
+        const linkText = resultLink.textContent;
+
+        try {
+          // 使用现代剪贴板 API
+          await navigator.clipboard.writeText(linkText);
+
+          // 显示复制成功提示
+          copyNotification.classList.add("show");
+
+          // 3 秒后隐藏提示
+          setTimeout(() => {
+            copyNotification.classList.remove("show");
+          }, 3000);
+        } catch (err) {
+          // 兼容旧版浏览器的备用方案
+          console.warn("现代剪贴板 API 不可用,使用备用方案");
+
+          // 创建临时文本区域
+          const textArea = document.createElement("textarea");
+          textArea.value = linkText;
+          textArea.style.position = "fixed";
+          textArea.style.left = "-999999px";
+          textArea.style.top = "-999999px";
+          document.body.appendChild(textArea);
+          textArea.focus();
+          textArea.select();
+
+          try {
+            document.execCommand("copy");
+
+            // 显示复制成功提示
+            copyNotification.classList.add("show");
+
+            // 3 秒后隐藏提示
+            setTimeout(() => {
+              copyNotification.classList.remove("show");
+            }, 3000);
+          } catch (err) {
+            alert("复制失败,请手动复制链接:" + linkText);
+          }
+
+          // 清理临时元素
+          document.body.removeChild(textArea);
+        }
+      });
+
+      // 监听输入框回车键事件,确保在按下回车键时触发表单提交
+      searchInput.addEventListener("keydown", function (event) {
+        if (event.key === "Enter") {
+          event.preventDefault(); // 阻止输入框的默认回车行为
+          searchForm.dispatchEvent(new Event("submit"));
+        }
+      });
+
+      // 输入框获得焦点时隐藏之前的结果
+      searchInput.addEventListener("focus", function () {
+        searchResult.style.display = "none";
+      });
+    </script>
+  </body>
+</html>