diff --git a/404.html b/404.html new file mode 100644 index 00000000..9b7c9168 --- /dev/null +++ b/404.html @@ -0,0 +1,46 @@ + + + + + + + + 568Tools | 404 + + + + + +
+
+
正在加载
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..a5a44981 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +tools.pj568.eu.org \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..4fd12c98 --- /dev/null +++ b/LICENSE @@ -0,0 +1,190 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Copyright 2023 PJ568 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md new file mode 100644 index 00000000..ba090e3a --- /dev/null +++ b/README.md @@ -0,0 +1,81 @@ +

+ +

+ +> 🌏简体中文 | [English](./README_EN.md) + +> 🗃️[Github](https://github.com/PJ-568/568tools) | [Gitee](https://gitee.com/PJ-568/568tools) + +# 568Tools 在线工具箱 + +* 568Tools 在线工具箱是在线工具的集合。使用大部分工具无需注册、下载或上传到服务器。 + + 点击访问 + +## 🪴项目活动 + +![Project Activity](https://repobeats.axiom.co/api/embed/0e0b27c01d4e9ff093fb3d03fedc74a300068f50.svg "Repobeats analytics image") + +## 📚服务涵盖 + +* 文件转换; +* 加密解密; +* 站长工具; +* 代码开发; +* 生活相关; +* …… + +## 📖其他说明 + +* `本项目和其使用的开源项目允许修改,但请保留原作者信息。确需去除,请联系作者,以免失去技术支持。`详情请参照[许可证](https://Tools.PJ568.eu.org/about/#1)。 +* 欢迎[提交页面或链接](https://Tools.pj568.eu.org/application)。 +* 项目基于[fly63在线工具箱](https://github.com/mydearcc/tools),向他们表示诚挚的感谢! +* 出现 BUG 请提出 `Issue` ,我会修复。 +* 期待您的 `Commitment` 。 + +## ✅待完成 + +* [ ] 适配搜索栏,使其能够正常使用。 +* [ ] 多语言支持。 +* [X] ~~构建`关于`页面;~~ + * [ ] 做到能够查询所有项目的许可证和信息。 +* [X] ~~构建`留言反馈`页面,做到无后端。~~ +* [ ] 构建`提交页面`页面。 +* [ ] 修复右键菜单中的`在新标签页打开`按钮。 +* [X] ~~添加`加载`动画。~~ +* [ ] …… + +## 🏆贡献者们 + +> 感谢所有让这个项目变得更好的贡献者们! + +[![Contributors Chart](https://contrib.rocks/image?repo=PJ-568/568tools)](https://github.com/PJ-568/568tools/graphs/contributors) + +## 💻代码贡献 + +欢迎每一位对本项目感兴趣的朋友贡献代码。 + +### 参考 + +* Fork 源码,下载到本地并运行项目; +* 添加/修改代码; +* ⚠️对相关改动进行全面的自我测试⚠️; +* 确认无误后提交修改到 Github; +* 提交 Pull Request; + +### 请注意 + +* 单次 Pull Request 不应提交过多修改,请确保每次提交都针对特定的功能且务必说明本次改动的具体目的,例如:修复某 bug 、优化某方法 等,方便进行 Code Review; +* 对于 bug 的修复,应该将本次 Pull Request 和相对应 bug 的 issue 关联起来,让别人知道该问题已经被修复; +* 对于较大的新功能,你需要先提交 Issues,例如 “添加 XXX 功能”,确认该功能有被添加的必要后,再开始工作; +* 对于一些主观的样式、交互逻辑调整:如颜色、图标的使用,某些预设配置的增减修改等,一般不予通过。但可以在 Discussions 中进行讨论; + +* 其他如简单的代码优化、文档修正等,只要修改合理都会被接受。 + +## 📄许可证 + +本项目遵循 [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) 许可协议。如果想了解完整许可信息,请查阅 `LICENSE` 文件或访问[关于页面](https://Tools.PJ568.eu.org/about/#1)。 + +## ⭐Star 历史 + +![Star History Chart](https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date) diff --git a/README_EN.md b/README_EN.md new file mode 100644 index 00000000..291c87fb --- /dev/null +++ b/README_EN.md @@ -0,0 +1,80 @@ +

+ +

+ +> 🌏[简体中文](./README.md) | English + +> 🗃️[Github](https://github.com/PJ-568/568tools) | [Gitee](https://gitee.com/PJ-568/568tools) + +# 568Tools Online Toolbox + +* 568Tools Online Toolbox is a collection of online tools. Using most tools do not require registration, download, or upload to a server. + + Click me to visit + +## 🪴Project Activity + +![Project Activity](https://repobeats.axiom.co/api/embed/0e0b27c01d4e9ff093fb3d03fedc74a300068f50.svg "Repobeats analytics image") + +## 📚Features + +* File Converter. +* Encryption & decryption. +* Webmaster tools. +* Code development. +* Life-related. +* ... + +## 📖Infomation + +* `This project and the open source projects which are used are allowed to modify, as long as you retain the original author information. If you want to remove it, please contact the author or you may lose technical support.` Please refer to [license](https://Tools.PJ568.eu.org/about/#1). +* [Submit your own pages or links](https://Tools.PJ568.eu.org/application) is welcomed. +* This project is based on [fly63在线工具箱](https://github.com/mydearcc/tools) (fly63 Online Toolbox). We would like to express my sincere thanks to them! +* If there is a BUG, please shoot an `Issue` and I will fix it. +* `Commitment` is also welcomed. + +## ✅To Do List + +* [ ] Fix Search, make it functional. +* [ ] Multilingual support. +* [X] ~~Build `about` page.~~ + * [ ] Make it be able to query license and info for all projects. +* [X] ~~Build `comment` page, make it without back end.~~ +* [ ] Build `application` page. +* [ ] Make `open-in-new-tab` in ContextMenu functional. +* [X] ~~Add `loading` .~~ +* [ ] ... + +## 🏆Contributors + +> Thanks to all the contributors who made this project better! + +[![Contributors Chart](https://contrib.rocks/image?repo=PJ-568/568tools)](https://github.com/PJ-568/568tools/graphs/contributors) + +## 💻Make Contributions + +Every contributions to this project is welcomed. + +### Steps + +* Fork. Download and run the whole project locally. +* Add or modify the project. +* ⚠️Conduct comprehensive tests on the relevant modifications. +* Confirm and submit the changes to Github. +* Pull Requests. + +### Things to Note + +* A pull request should not commit too many changes. Make sure that each commit is for a specific feature and that you specify the purpose of the change, for example: fixed XX bug, optimizing XX method, etc. All for the convenience of code review. +* For bug fixes, you should associate your pull request with the issue of the corresponding bug to let others know that the problem has been fixed. +* For greater new features, you should submit an Issues first, such as "Add XXX feature". Confirm that the feature is necessary to be added before starting work. +* For subjective style and interaction logic adjustments, such as the use of colors and icons, as well as adding or modifying certain preset configurations, they are generally not approved. However, you can discuss them in the Discussions section. +* For other tasks like simple code optimizations and document corrections, as long as the modifications are reasonable, they will be accepted. + +## 📄License + +Licensed under the terms of [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). For full details about the license, please check the `LICENSE` file or [About Page](https://Tools.PJ568.eu.org/about/#1). + +## ⭐Star History + +![Star History Chart](https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date) diff --git a/about/index.html b/about/index.html new file mode 100644 index 00000000..c803f0c6 --- /dev/null +++ b/about/index.html @@ -0,0 +1,58 @@ + + + + + + + + 关于 568Tools 在线工具箱 + + + + + + + +
+
+
正在加载
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/application/index.html b/application/index.html new file mode 100644 index 00000000..01eda41d --- /dev/null +++ b/application/index.html @@ -0,0 +1,82 @@ + + + + + + + + + 568Tools | 页面提交 + + + + + +
+
+
正在加载
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/comment/index.html b/comment/index.html new file mode 100644 index 00000000..889014f1 --- /dev/null +++ b/comment/index.html @@ -0,0 +1,65 @@ + + + + + + + + + 568Tools | Comment + + + + + +
+
+
正在加载
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/css/568_comment.css b/css/568_comment.css new file mode 100644 index 00000000..809e2b4b --- /dev/null +++ b/css/568_comment.css @@ -0,0 +1,135 @@ +/*! + * Modified from GitHub's Dark Dimmed theme, licensed under the MIT License + * Copyright (c) 2018 GitHub Inc. + * https://github.com/primer/primitives/blob/main/LICENSE + */main{ +--color-prettylights-syntax-comment:#768390; +--color-prettylights-syntax-constant:#6cb6ff; +--color-prettylights-syntax-entity:#dcbdfb; +--color-prettylights-syntax-storage-modifier-import:#adbac7; +--color-prettylights-syntax-entity-tag:#8ddb8c; +--color-prettylights-syntax-keyword:#f47067; +--color-prettylights-syntax-string:#96d0ff; +--color-prettylights-syntax-variable:#f69d50; +--color-prettylights-syntax-brackethighlighter-unmatched:#e5534b; +--color-prettylights-syntax-invalid-illegal-text:#cdd9e5; +--color-prettylights-syntax-invalid-illegal-bg:#922323; +--color-prettylights-syntax-carriage-return-text:#cdd9e5; +--color-prettylights-syntax-carriage-return-bg:#ad2e2c; +--color-prettylights-syntax-string-regexp:#8ddb8c; +--color-prettylights-syntax-markup-list:#eac55f; +--color-prettylights-syntax-markup-heading:#316dca; +--color-prettylights-syntax-markup-italic:#adbac7; +--color-prettylights-syntax-markup-bold:#adbac7; +--color-prettylights-syntax-markup-deleted-text:#ffd8d3; +--color-prettylights-syntax-markup-deleted-bg:#78191b; +--color-prettylights-syntax-markup-inserted-text:#b4f1b4; +--color-prettylights-syntax-markup-inserted-bg:#1b4721; +--color-prettylights-syntax-markup-changed-text:#ffddb0; +--color-prettylights-syntax-markup-changed-bg:#682d0f; +--color-prettylights-syntax-markup-ignored-text:#adbac7; +--color-prettylights-syntax-markup-ignored-bg:#255ab2; +--color-prettylights-syntax-meta-diff-range:#dcbdfb; +--color-prettylights-syntax-brackethighlighter-angle:#768390; +--color-prettylights-syntax-sublimelinter-gutter-mark:#545d68; +--color-prettylights-syntax-constant-other-reference-link:#96d0ff; +--color-btn-text:#adbac7; +--color-btn-bg:#373e47; +--color-btn-border:rgba(205,217,229,.1); +--color-btn-shadow:0 0 transparent; +--color-btn-inset-shadow:0 0 transparent; +--color-btn-hover-bg:#444c56; +--color-btn-hover-border:#768390; +--color-btn-active-bg:#3d444d; +--color-btn-active-border:#636e7b; +--color-btn-selected-bg:#2d333b; +--color-btn-primary-text:#fff; +--color-btn-primary-bg:#347d39; +--color-btn-primary-border:rgba(205,217,229,.1); +--color-btn-primary-shadow:0 0 transparent; +--color-btn-primary-inset-shadow:0 0 transparent; +--color-btn-primary-hover-bg:#46954a; +--color-btn-primary-hover-border:rgba(205,217,229,.1); +--color-btn-primary-selected-bg:#347d39; +--color-btn-primary-selected-shadow:0 0 transparent; +--color-btn-primary-disabled-text:rgba(205,217,229,.5); +--color-btn-primary-disabled-bg:rgba(52,125,57,.6); +--color-btn-primary-disabled-border:rgba(205,217,229,.1); +--color-fg-default:#adbac7; +--color-fg-muted:#768390; +--color-fg-subtle:#545d68; +--color-canvas-default:#192734; +--color-canvas-overlay:#161b22; +--color-canvas-inset:#15202b; +--color-canvas-subtle:#253341; +--color-border-default:#9E9E9E; +--color-border-muted:#212121; +--color-neutral-muted:rgba(99,110,123,.4); +--color-accent-fg:#539bf5; +--color-accent-emphasis:#316dca; +--color-accent-muted:rgba(65,132,228,.4); +--color-accent-subtle:rgba(56,139,253,.15); +--color-success-fg:#57ab5a; +--color-attention-fg:#c69026; +--color-attention-muted:rgba(174,124,20,.4); +--color-attention-subtle:rgba(174,124,20,.15); +--color-danger-fg:#e5534b; +--color-danger-muted:rgba(229,83,75,.4); +--color-danger-subtle:rgba(229,83,75,.15); +--color-primer-shadow-inset:0 0 transparent; +--color-primer-shadow-focus:0 0 0 3px #143d79; +--color-scale-gray-7:#373e47; +--color-scale-blue-8:#143d79; + + /*! Extensions from @primer/css/alerts/flash.scss */--color-social-reaction-bg-hover:var(--color-scale-gray-7); +--color-social-reaction-bg-reacted-hover:var(--color-scale-blue-8)} + +main .pagination-loader-container{ +background-image:url(https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg)} + +/*! Custom CSS */ +.gsc-reactions-count{ +color: #E0E0E0; +border: 2px solid #0277BD; +border-radius: 6px; +background: #424242; +align-items: center; +margin: 10px 0.8%; +box-sizing: border-box; +box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); +display:none} +.gsc-timeline{ +flex-direction:column-reverse} +.gsc-header{ +color: #E0E0E0; +border: 2px solid #0277BD; +border-radius: 6px; +background: #424242; +align-items: center; +margin: 10px 0.8%; +box-sizing: border-box; +box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); +padding-bottom:1rem} +.gsc-comments>.gsc-header{ +align-items: center; +border: 2px solid #0277BD; +order:1} +.gsc-comments>.gsc-comment-box{ +border: 2px solid #0277BD; +background: #313131; +color: #E0E0E0; +width: 99%; +border-radius: 6px; +margin-bottom:1rem; +margin: 10px 0.8%; +box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); +order:2} +.gsc-comments>.gsc-comment-box>.gsc-comment-box-tabs{ +color: #E0E0E0; +background: #424242} +.gsc-comments>.gsc-timeline{ +order:3} +.gsc-homepage-bg{ +background-color:#424242} +main .gsc-loading-image{ +background-image:url(/img/loading_b.svg)} \ No newline at end of file diff --git a/css/tool_type.css b/css/tool_type.css new file mode 100644 index 00000000..ae1da746 --- /dev/null +++ b/css/tool_type.css @@ -0,0 +1,494 @@ +* { + margin: 0; + padding: 0; + scroll-behavior: smooth +} + +body { + display: flex; + justify-content: center; + align-items: center; + box-sizing: border-box; + background: #1e1e1e; + color:#ccc; + /* min-width: 1300px; */ + min-width: 300px; + width: 100%; + -webkit-tap-highlight-color:transparent +} + +.bg-img { + background-attachment:fixed; + background-image:url(https://bing.shangzhenyang.com/api/1080p); + background-position:center; + background-repeat:no-repeat; + background-size:cover; + -webkit-filter:blur(10px); + filter:blur(10px); + height:100%; + left:0; + top:0; + opacity:.5; + position:fixed; + transform:scale(1.1); + width:100%; + z-index:-1 +} + +.nav_content { + /* width: 1280px; */ + width: 90%; + margin: 45px auto +} + +.nav_content .item { + min-width: 300px; + width: 100%; + margin-bottom: 30px +} + +.nav_content .item h1 { + margin: 12px; + color: #E0E0E0 +} + +.nav_content .item h2 { + font-size: 20px; + color: #E0E0E0; + margin: 12px +} + +.nav_content .page{ + justify-content:center; + text-decoration: none; + box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); + align-items:center; + flex-wrap: wrap; + height: 720px; + background:#424242; + margin-top :35px; + border: 2px solid #0277BD; + max-width: 100%; + width: 100%; + min-width: 300px; + margin: 10px 0.8%; + text-align: center; + display: block; + font-size: 14px; + color: #E0E0E0; + border-radius: 6px +} + +.github { + float: right; + margin-top: 8px; + margin-right: 15px +} + +.github svg { + display: inline-block; + width: 26px; + height: 26px; + fill: #E0E0E0 +} + +.nav_content .item .child { + display: flex; + flex-wrap: wrap +} + +.nav_content .item .child .incert { + display: flex; + flex-wrap: wrap; + width: 100%; + border: 2px solid #0277BD; + border-radius: 6px; + background: #424242; + margin: 10px 0.8%; + box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%) +} + +.nav_content .item .child a { + float: left; + color: #E0E0E0; + font-size: 14px; + margin: 10px 0.8%; + text-decoration: none; + padding: 10px 14px; + border: 2px solid #0277BD; + border-radius: 6px; + background: #424242; + box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); + min-width: 18.4%; + min-height: 62px; + line-height: 20px; + box-sizing: border-box; + display: flex; + align-items: center +} + +.nav_content .item .child .contri { + min-width: 0; + flex-wrap: wrap +} + +.nav_content .item .child .red { + color: #B3E5FC; + font-weight: bold; +} + +.nav_content .item .child a:hover { + background: #01579B; + color: #FFF; + font-weight: bold; +} + +.nav_content .item .ota { + align-items: center; + margin: 10px 0.8%; + box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); + text-align: center; + display: block; + font-size: 14px; + color: #E0E0E0; + text-decoration: none; + background: #424242; + border: 2px solid #0277BD; + border-radius: 6px +} + +.nav_content .item .ota:hover { + border-color: #0277BD; + background: #01579B; + color: #FFF; + font-weight: bold; +} + +.nav_content .info { + background: #424242; + border-radius: 8px; + padding: 5px 0; + margin: 0 10px; + margin-bottom: 20px; + min-width: 300px; + width: calc(100% - 20px); + box-shadow: 0.5rem 0.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%); + border: 2px solid #0277BD; +} + +.nav_content .info h2 { + margin: 10px; + color: #EEEEEE; + font-size: 20px; +} + +.nav_content .info h3 { + margin: 10px; + color: #E0E0E0; + font-size: 18px; +} + +.nav_content .info p { + margin: 10px; + color: #E0E0E0; + line-height: 1.5; + font-size: 15px; +} + +.nav_content .info a { + color: #90CAF9; +} + +.nav_content .info a:hover { + color: #00B0FF; +} + +/* 目录条 */ + +body{ + margin-top: 40px; + padding: 1px 0; +} + +::-webkit-scrollbar{ + width: 6px; + height: 6px; + background-color:#F5F5F5; +} + +::-webkit-scrollbar-thumb{ + background-color: #c1c1c1; +} + +ins.adsbygoogle[data-ad-status="unfilled"]{ + display: none !important; +} + +.el-message{ + z-index: 999992 !important; +} + +.nav_menu{ + position: fixed; + z-index: 999990; + top: 0; + left: 0; + min-width: 300px; + width: 100%; + height: auto; + background: rgba(255,255,255,.2); + box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); + backdrop-filter: blur( 4px ); + -webkit-backdrop-filter: blur( 4px ); + border: 1px solid rgba( 255, 255, 255, 0.18 ) +} + +.nav_menu .menu_item,.menu_item_href{ + float: left; + position: relative; + line-height: 40px; + padding: 0 .8%; + cursor: pointer; + margin: 0 5px; + color: #F5F5F5; + text-decoration: none; + font-size:15px +} + +.mainicon{ + margin: -8px 5px; + height: 30px +} + +.menu_item_href:hover{ + color:#fff; +} + +.nav_menu .menu_item::after{ + content: ""; + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} + +.nav_menu .menu_item_active { + background: #0077B3; +} + +.nav_menu .menu_item:hover .menu_child,.nav_menu .menu_item_active .menu_child{ + display: block !important; +} + +.nav_menu .menu_item .menu_child,.nav_menu .search_box .search_val{ + display: none; + position: absolute; + z-index: 999991; + width: 320px; + font-size: 13px; + padding: 10px; + top: 40px; + left: -25px; + z-index: 1000000; + -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175); + max-height: 720px; + overflow: auto; + background: rgba( 255, 255, 255, 0.25 ); + box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); + backdrop-filter: blur( 4px ); + -webkit-backdrop-filter: blur( 4px ); + border-radius: 6px; + border: 2px solid rgba( 255, 255, 255, 0.18 ) +} + +.nav_menu .menu_item .menu_child a,.nav_menu .search_box .search_val a{ + color: #E0E0E0; + text-decoration: none; + display: block; + padding: 0 5px; + border-radius: 5px; + -webkit-border-radius: 5px; + line-height: 40px; + text-align: left +} + +.nav_menu .menu_item .menu_child a:hover,.nav_menu .search_box .search_val a:hover{ + background: #01579B; + border: 2px solid #0277BD; + color: #fff +} + +.nav_menu .search_box{ + border: 2px solid #0277BD; + position: relative; + float: right; + width: 10%; + height: 26px; + background: #424242; + margin: 5px; + margin-left: 0; + border-radius: 4px; + padding: 0 5px; + padding-right: 25px; +} + +.nav_menu .search_box input{ + height: 100%; + width: 83%; + border: 0; + color: #ccc; + outline: none; + font-size: 13px; + padding: 0; + margin: 0; + position: absolute; + top: 0; + left: 5px; +} + +.nav_menu .search_box svg{ + position: absolute; + width: 21px; + top: 2px; + height: 21px; + right: 2px; + color: #ccc; +} + +.nav_menu .search_box .search_val{ + display: block; + left: auto; + right: 0; + top:33px; +} + +.nav_menu .search_box .search_in{ + background: #424242; + color: #ccc; +} + +/* 右键菜单 */ + +#rcb_menu{ + display: none; + position: fixed; + margin: 0; + padding: 0; + list-style: none; + width: 150px; + box-sizing: border-box; + border: 2px solid#0277BD; + border-radius: 6px; + z-index: 1100; + background-color:#424242; + box-shadow:0 0 10px#252423 +} +#rcb_menu>li{ + border-radius: 6px; + padding: 5px 10px 0 10px; + height: 30px +} +#rcb_menu>li:hover{ + background-color:#01579B; + color: #FFF; + cursor: pointer +} +#rcb_menu>.hr_break{ + padding: 0; + height: 1px; + background-color:#A2A2A2 +} +#rcb_menu>.hr_break:hover{ + background-color:#A2A2A2; + cursor: default +} +#rcb_menu>#rcb_t6{ + display: none +} + +/*********LoadingPage*************/ + +#loading { + position: fixed; + background-color: #424242; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + z-index: 1000000; +} +#loading_bg{ + background-color: rgba(0,0,0,0.7); +} +.loader { + width: 250px; + height: 50px; + line-height: 50px; + text-align: center; + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + font-family: helvetica, arial, sans-serif; + text-transform: uppercase; + font-weight: 900; + color: #0277BD; + letter-spacing: 0.2em; +} +.loader::before, .loader::after { + content: ""; + display: block; + width: 15px; + height: 15px; + background: #0277BD; + position: absolute; + -webkit-animation: load .7s infinite alternate ease-in-out; + animation: load .7s infinite alternate ease-in-out; +} +.loader::before { + top: 0; +} +.loader::after { + bottom: 0; +} + +@-webkit-keyframes load { + 0% { + left: 0; + height: 30px; + width: 15px; + } + 50% { + height: 8px; + width: 40px; + } + 100% { + left: 235px; + height: 30px; + width: 15px; + } +} + +@keyframes load { + 0% { + left: 0; + height: 30px; + width: 15px; + } + 50% { + height: 8px; + width: 40px; + } + 100% { + left: 235px; + height: 30px; + width: 15px; + } +} + +/********************************/ \ No newline at end of file diff --git a/header.html b/header.html new file mode 100644 index 00000000..e0ddbfd1 --- /dev/null +++ b/header.html @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/help.html b/help.html new file mode 100644 index 00000000..b135e143 --- /dev/null +++ b/help.html @@ -0,0 +1,41 @@ + + + + + + + + 568Tools | 帮助 + + + + +
+
+
正在加载
+
+
+
+ + + + + + \ No newline at end of file diff --git a/img/LICENSE b/img/LICENSE new file mode 100644 index 00000000..795087c2 --- /dev/null +++ b/img/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. diff --git a/img/icon.svg b/img/icon.svg new file mode 100644 index 00000000..581ff2e1 --- /dev/null +++ b/img/icon.svg @@ -0,0 +1,220 @@ + + + + + 568Tools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PJ568 + + + + + PJ568 + + + + + PJ568 + + + None + 568Tools + + + + + + + + + + + + diff --git a/img/loading_a.svg b/img/loading_a.svg new file mode 100644 index 00000000..84f05c19 --- /dev/null +++ b/img/loading_a.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/img/loading_b.svg b/img/loading_b.svg new file mode 100644 index 00000000..8d0a4a7f --- /dev/null +++ b/img/loading_b.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/incert/defualt.html b/incert/defualt.html new file mode 100644 index 00000000..219910e9 --- /dev/null +++ b/incert/defualt.html @@ -0,0 +1,28 @@ + + + + + + + + 提示 + + + + +
+
+
正在加载
+
+
+
+ + + + \ No newline at end of file diff --git a/incert/index.html b/incert/index.html new file mode 100644 index 00000000..d83934f9 --- /dev/null +++ b/incert/index.html @@ -0,0 +1,25 @@ + + + + + + + + 568Tools | 插入页面 + + + + + + +
+
+
正在加载
+
+
+
+ + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 00000000..5e1e0ea3 --- /dev/null +++ b/index.html @@ -0,0 +1,62 @@ + + + + + + + + 568Tools 在线工具箱 + + + + +
+
+
正在加载
+
+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/js/contextmenu.js b/js/contextmenu.js new file mode 100644 index 00000000..10b6a1b5 --- /dev/null +++ b/js/contextmenu.js @@ -0,0 +1,58 @@ +window.addEventListener('contextmenu', RightClickMenu); +const rightMenu = document.querySelector('#rcb_menu'); +const newTab = document.querySelector('#rcb_t6'); +// const incertBtn = document.querySelector('#rcb_t7'); +function RightClickMenu(e) { + e.preventDefault(); + rightMenu.style.display = 'block'; + if (e.target.closest('a')) { + newTab.style.display = 'block'; + // if (document.write(location.href) == 'https://tools.pj568.eu.org/') {incertBtn.style.display = 'block'} + // incertBtn.style.display = 'block'; + } else { + newTab.style.display = 'none'; + // incertBtn.style.display = 'none'; + } + let x = e.clientX, y = e.clientY, + menuWidth = rightMenu.offsetWidth, menuHeight = rightMenu.offsetHeight, + htmlWidth = document.body.clientWidth, htmlHeight = document.body.clientHeight; + if (x + menuWidth < htmlWidth) rightMenu.style.left = x + 'px'; + else rightMenu.style.left = htmlWidth - menuWidth + 'px'; + if (y + menuHeight < htmlHeight) rightMenu.style.top = y + 'px'; + else rightMenu.style.top = htmlHeight - menuHeight + "px"; +} +document.body.addEventListener('click', function () { + rightMenu.style.display = 'none'; +}); + +rightMenu.addEventListener('click', function (e) { + switch (e.target.id) { + case "rcb_t1": + window.location.href="/"; + break; + case "rcb_t2": + window.location.href="#"; + break; + case "rcb_t3": + window.history.back(-1); + break; + case "rcb_t4": + window.history.forward(1); + break; + case "rcb_t5": + window.location.reload(); + break; + case "rcb_t6": + if (e.target.closest('a')) { + var a = e.target.closest('a'); + var url = encodeURIComponent(a.getAttribute('href')); + window.open(url); + } + break; + // case "rcb_t7": + // break; + default: + console.error(e.target.id); + break; + } +}); \ No newline at end of file diff --git a/js/incert.js b/js/incert.js new file mode 100644 index 00000000..5d90d0e1 --- /dev/null +++ b/js/incert.js @@ -0,0 +1,33 @@ +// 获取 URL 参数 +function getUrlParameter(name) { + name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); + var regex = new RegExp('[\\?&]' + name + '=([^&#]*)'); + var results = regex.exec(location.search); + return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' ')); +} + +// 替换 iframe 中的网页并聚焦视角 +function replaceIframeSource() { + var link = getUrlParameter('link'); + if (link) { + var iframe = document.getElementById('myIframe'); + iframe.src = link; + iframe.scrollIntoView({ behavior: 'smooth' }); + + // 监听 iframe 的加载事件 + iframe.addEventListener('load', function() { + // 获取 iframe 内部文档的标题 + var iframeTitle = iframe.contentDocument.title; + + // 更新 标签的内容 + var dynamicTitle = document.getElementById('dynamicTitle'); + dynamicTitle.innerHTML = "568Tools | " + iframeTitle; + }); + } +} + + // 页面加载完成时调用替换函数 +window.onload = function() { + replaceIframeSource(); + // 添加你的代码... +}; \ No newline at end of file diff --git a/js/include.js b/js/include.js new file mode 100644 index 00000000..676f5e5f --- /dev/null +++ b/js/include.js @@ -0,0 +1,21 @@ +function includeHTML() { + var elements = document.getElementsByTagName("include"); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + var file = element.getAttribute("src"); + if (file) { + (function(element) { // 创建一个函数作用域,以便保存每个元素的引用 + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function() { + if (this.readyState === 4 && this.status === 200) { + element.innerHTML = this.responseText; + } + }; + xhttp.open("GET", file, true); + xhttp.send(); + })(element); + } + } +} + +document.addEventListener("DOMContentLoaded", includeHTML); diff --git a/js/loading.js b/js/loading.js new file mode 100644 index 00000000..25d94bbf --- /dev/null +++ b/js/loading.js @@ -0,0 +1,23 @@ +//Loading页面 +document.onreadystatechange=function () { + if (document.readyState=="complete"){ + loadingFade(); + } +} +function loadingFade() { +var opacity=1; +const position = document.querySelector('#loading'); +// var loadingPage=document.getElementById('loading'); +var loadingBackground=document.getElementById('loading_bg'); +var time=setInterval(function () { + if (opacity<=0){ + clearInterval(time); + // loadingPage.remove(); + // $('#loading').remove(); + position.style.display = 'none'; + } + + loadingBackground.style.opacity=opacity; + opacity-=0.4; +},100); +} \ No newline at end of file diff --git a/js/openLink.js b/js/openLink.js new file mode 100644 index 00000000..e007afbf --- /dev/null +++ b/js/openLink.js @@ -0,0 +1,10 @@ +function openLink () { + var iframe = document.getElementById("myIframe"); + var iframeSrc = iframe.getAttribute("src"); + encode_and_open (iframeSrc) +} +function encode_and_open (event) { + var encodedSrc = encodeURIComponent (event); + var link = "/incert/?link=" + encodedSrc; + window.location.assign (link) +} \ No newline at end of file diff --git a/js/popup.js b/js/popup.js new file mode 100644 index 00000000..1dd31b9e --- /dev/null +++ b/js/popup.js @@ -0,0 +1,153 @@ +function getD(val,type){ + if(!type){ + return document.getElementById(val); + } + if(type='class'){ + return document.getElementsByClassName(val); + } +} +function throttle(fn, delay) { + delay=delay || 200; + let timer = null; + return function () { + if(timer) return; + timer = setTimeout(() => { + fn.apply(this,arguments); + timer = null; + }) + } +} +function setSotreList(data){ + var sotreList=localStorage.getItem('list'); + var max=8; + sotreList=JSON.parse(sotreList || '[]'); + for(let i in sotreList){ + if(sotreList[i].name==data.name){ + sotreList.splice(i,1); + } + } + sotreList.splice(max,sotreList.length-max); + sotreList.unshift(data); + localStorage.setItem('list',JSON.stringify(sotreList)); +} +var _URL='https://Tools.PJ568.eu.org/'; +function initData(){ + var nav=getD('nav'), + list=getD('list'), + keyword=getD('keyword'), + nav_html='', + list_html='', + sotreList=localStorage.getItem('list'); + // 初始化 + list_html+=`<div class="item info"><h2>欢迎使用<img alt="Main_icon" class="mainicon" src="./img/icon.svg"/> 568Tools 在线工具箱</h2><p>致力于创造并维护无需注册、下载和上传即可免费使用的静态在线工具环境。部分项目来源于开源项目,热门工具已被标记为浅蓝色。<a href="lib/data.json" target="_blank">点击查看</a> json 数据。</p><p><strong>如果您有问题或建议,请不要吝啬您的<a rel="nofollow" target="_blank" href="./comment">留言反馈</a>,感谢使用及分享!</strong>本站欢迎<a rel="nofollow" target="_blank" href="/application">提交您的页面</a>,本站将持续更新。如果喜欢网站可以去<a rel="nofollow" target="_blank" href="https://github.com/PJ-568/568tools">托管仓库</a>点一个⭐。</p><p>下载 <strong>[568Tools 工具箱]</strong> 浏览器扩展插件或应用程序以供离线使用:<a rel="nofollow" target="_blank" href="/lib/app/568Tools_在线工具箱_First_Release.apk">安卓应用</a>。</p></div>` + // 初始化结束 + if(!!sotreList){ + sotreList=JSON.parse(sotreList); + // 最近访问 + list_html+=`<div class="item"><h2>最近访问</h2><div class="child">`; + for(var i in sotreList){ + var li = sotreList[i]; + list_html+=`<a class="open-in-new-tab" href="${li.url}" target="_self">${li.name}</a>`; + } + list_html+=`</div></div>`; + } + for(var i in classify){ + var item=classify[i]; + // 顶栏的按钮 + nav_html+=`<a href="#${item.id}">${item.name}</a>`; + // 主要选项 + list_html+=`<div id="${item.id}" class="item"><h2>${item.name}</h2><div class="child">`; + for(var j in item.list){ + var li=item.list[j]; + list_html+=`<a href="${li.url}"${li.hot==1 ? ' class="red" ' : ''}idx="${i}_${j}" target="_self" title="${li.name}">${li.name}</a>`; + } + list_html+=`</div></div>`; + } + // 后补 + nav_html+=`<a href="#0" target="_self">页内页</a><a href="#-1" target="_self">项目贡献者</a><a href="#-2" target="_self">项目活动</a><a href="#-3" target="_self">Star 历史</a>` + list_html+=`<div id="0" class="item"><h2>页内页</h2><div class="child"><iframe title="incert" id="myIframe" src="/help.html" class="page"></iframe><a style="cursor:pointer" onclick="openLink()" target="_self">进入页面</a></div></div><div id="-1" class="item"><h2>项目贡献者</h2><div class="child"><a class="contri" href="https://github.com/PJ-568/568tools/graphs/contributors" target="_blank"><img alt="贡献者的头像图片" src="https://contrib.rocks/image?repo=PJ-568/568tools"/>​</a></div></div><div id="-2" class="item"><h2>项目活动</h2><div class="child"><img alt="项目活动" class="incert" src="https://repobeats.axiom.co/api/embed/0e0b27c01d4e9ff093fb3d03fedc74a300068f50.svg"/></div></div><div id="-3" class="item"><h2>Star 历史</h2><div class="child"><img alt="Star 历史" class="incert" src="https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date"/></div></div><div class="item"><a class="ota" href="#">↑↑    返回页顶    ↑↑</a></div>` + // 后补结束 + nav.innerHTML=nav_html; + list.innerHTML=list_html; + getD("classify").addEventListener("click",setClassify); + list.addEventListener("click",function(e){ + if(e.target.getAttribute('class').indexOf('sli')>-1){ + toHref(e.target); + } + }); + keyword.addEventListener('input', throttle(setSearch)); + keyword.addEventListener('focus', throttle(setSearch)); + keyword.addEventListener('blur', function() { + setTimeout(function() { + getD('searchContent').innerHTML = ''; + }, 250) + }); + getD('closekeyword').addEventListener("click",function(){ + keyword.value=''; + this.style.display= 'none'; + }); + getD('searchContent').addEventListener("click",function(e){ + if(e.target.getAttribute('class')=='ssli'){ + toHref(e.target); + } + }); + getD('logo').addEventListener('click',function(e){ + var url=_URL+'/tool/home.html'; + window.open(url,'_blank'); + }); +} +function setSearch(value){ + var value=this.value.trim(); + var searchContent = getD('searchContent'); + var closekeyword = getD('closekeyword'); + var shtml = ''; + value = value.toLowerCase(); //输入值 + if (value == '') { + searchContent.innerHTML = ''; + closekeyword.style.display= 'none'; + return; + } + closekeyword.style.display= 'block'; + for (var i in classify) { + for (var j in classify[i].list) { + var li = classify[i].list[j]; + if (!!li.name && li.name.toLowerCase().indexOf(value) > -1) { + shtml += `<a class="ssli" idx="${i}_${j}"${li.hot==1 ? ' class="hot" ' : ''}target="_self" title="${li.name}">${li.name}</a>`; + } + } + } + searchContent.innerHTML = shtml; +} +function toHref(dom){ + var idx=dom.getAttribute('idx'); + var url=dom.getAttribute('url'); + if(!!idx){ + idx=idx.split('_'); + var data=classify[idx[0]].list[idx[1]]; + setSotreList(data); + url=data.url; + } + if(!url){ + return; + } + if(!(url.indexOf('http://')>-1 || url.indexOf('https://')>-1)){ + url=_URL+url; + } + window.open(url,'_blank'); +} +function setClassify(){ + var cls=getD('cls'), + nav=getD('nav'), + line=getD('line'); + var val=cls.getAttribute('class'); + if(!val){ + cls.setAttribute('class','rotate'); + nav.style.display='block'; + line.style.height='132px'; + return; + } + cls.setAttribute('class',''); + line.style.height='44px'; + nav.style.display='none'; +} +initData(); diff --git a/js/push_to_baidu.js b/js/push_to_baidu.js new file mode 100644 index 00000000..092a6375 --- /dev/null +++ b/js/push_to_baidu.js @@ -0,0 +1,12 @@ +(function(){ + var bp = document.createElement('script'); + var curProtocol = window.location.protocol.split(':')[0]; + if (curProtocol === 'https') { + bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; + } + else { + bp.src = 'http://push.zhanzhang.baidu.com/push.js'; + } + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(bp, s); +})(); \ No newline at end of file diff --git a/management/images/568state.bin b/management/images/568state.bin new file mode 100644 index 00000000..205f2219 Binary files /dev/null and b/management/images/568state.bin differ diff --git a/management/images/freebsd_state.bin.zst b/management/images/freebsd_state.bin.zst new file mode 100644 index 00000000..0031c972 Binary files /dev/null and b/management/images/freebsd_state.bin.zst differ diff --git a/management/index.html b/management/index.html new file mode 100644 index 00000000..d69ed022 --- /dev/null +++ b/management/index.html @@ -0,0 +1,84 @@ +<!DOCTYPE html> +<html lang="zh"> + <head> + <meta charset="utf-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="568Tools 在线工具箱的后台管理界面。"> + <script src="/js/loading.js"></script> + <title>568Tools | 服务器后台 + + + + + + + +
+
+
正在加载
+
+
+
+ + + + + + \ No newline at end of file