Add incert page

main
PJ568 2 years ago
parent 4694e3594d
commit 3bab06b894

@ -1 +1 @@
Subproject commit 90f2fb0afb0006692bebf48b9ce290cedda56dd9
Subproject commit 88485cff1a1ab11fc366be77c4bdd89438338be2

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

@ -1,36 +1,71 @@
# <img height="30" style="margin: -3px 5px;" src="https://Tools.PJ568.eu.org/img/icon.svg"/>568Tools Online Toolbox
<p align="center">
<img height="256" src='https://Tools.PJ568.eu.org/img/icon.svg' />
</p>
> [简体中文](./README.md) | English
[简体中文](./README.md)|English
# <img height="30" style="margin: -3px 5px;" src="https://Tools.PJ568.eu.org/img/icon.svg"/>568Tools Online Toolbox
<img height="15" src="https://tools.PJ568.eu.org/img/icon.svg"/> 568Tools Online Toolbox is a collection of online tools. Using most tools do not require registration, download, or upload to a server.
* <img height="15" src="https://tools.PJ568.eu.org/img/icon.svg"/> 568Tools Online Toolbox is a collection of online tools. Using most tools do not require registration, download, or upload to a server.
Features include: file Converter, encryption & decryption, webmaster tools, code development, life-related...
## 📚Features
* File Converter.
* Encryption & decryption.
* Webmaster tools.
* Code development.
* Life-related.
* ...
## Infomation
## 📖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.
* `Commitment` is also welcomed.
## ✅To Do List
## To Do List
- [ ] Fix Search, make it functional.
- [ ] Multilingual support.
- [X] ~~Build`about`page.~~
- [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.
- [ ] Add`loading`.
- [X] ~~Build `comment` page, make it without back end.~~
- [ ] Build `application` page.
- [ ] Make `open-in-new-tab` in ContextMenu functional.
- [ ] Add `loading` .
- [ ] ...
## Contributors
## 🏆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)
## Star History
## 💻Make Contributions
Every contributions to this project is welcomed.
### Steps
- Fork. Download and run the whole project locally.
- Add or modify the project.
- <b style="color:red">Conduct comprehensive tests on the relevant modifications.</b>
- 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.
## ⭐Star History
![Star History Chart](https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date)
## 📄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, check the `LICENSE` file or [About Page](https://Tools.PJ568.eu.org/about/#1).

@ -1,5 +1,5 @@
<div class="nav_menu">
<a class="menu_item_href" href="#"><img class="mainicon" src="https://tools.PJ568.eu.org/img/icon.svg"/>568Tools&nbsp;在线工具箱</a>
<a class="menu_item_href" href="https://Tools.pj568.eu.org/"><img class="mainicon" src="https://tools.PJ568.eu.org/img/icon.svg"/>568Tools&nbsp;在线工具箱</a>
<p class="menu_item_href">|</p>
<div class="menu_item"><span>操作</span>
<div id="nav" class="menu_child">

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html style="height:100%">
<head>
<meta charset="utf-8"/>
<title>568Tools&nbsp;|&nbsp;插入页面</title>
<link rel="icon" type="image/svg+xml" href="https://tools.pj568.eu.org/img/icon.svg">
<link rel="stylesheet" href="https://tools.pj568.eu.org/css/tool_type.css">
<script src="https://tools.pj568.eu.org/js/include.js"></script>
<script>
// 获取 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;
}
}
// 页面加载完成时调用替换函数
window.onload = replaceIframeSource;
</script>
</head>
<body style="display:block;height:calc(100% - 42px)">
<div class="bg-img"></div>
<iframe id="myIframe" width="100%" style="display:block;height:100%;border:none" src="https://tools.pj568.eu.org/about/"></iframe>
<include src="https://tools.pj568.eu.org/header.html"></include>
</body>
</html>

@ -65,7 +65,7 @@ function initData(){
}
// 后补
nav_html+=`<a href="#0" target="_self">页内页</a><a href="#-1" target="_self">项目贡献者</a><a href="#-2" target="_self">Star&nbsp;历史</a>`
list_html+=`<div id="0" class="item"><h2>页内页</h2><div class="child"><iframe src="https://tools.pj568.eu.org/about/" class="page"></iframe></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 src="https://contrib.rocks/image?repo=PJ-568/568tools"/></a></div></div><div id="-2" class="item"><h2>Star&nbsp;历史</h2><div class="child"><img class="incert" src="https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date"/></div></div><div class="item"><a class="ota" href="#">↑↑&nbsp;&nbsp;&nbsp;&nbsp;返回页顶&nbsp;&nbsp;&nbsp;&nbsp;↑↑</a></div>`
list_html+=`<div id="0" class="item"><h2>页内页</h2><div class="child"><iframe src="https://Tools.PJ568.eu.org/about/" class="page"></iframe><a href="https://Tools.PJ568.eu.org/incert/?link=" 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 src="https://contrib.rocks/image?repo=PJ-568/568tools"/></a></div></div><div id="-2" class="item"><h2>Star&nbsp;历史</h2><div class="child"><img class="incert" src="https://api.star-history.com/svg?repos=PJ-568/568tools&type=Date"/></div></div><div class="item"><a class="ota" href="#">↑↑&nbsp;&nbsp;&nbsp;&nbsp;返回页顶&nbsp;&nbsp;&nbsp;&nbsp;↑↑</a></div>`
// 后补结束
nav.innerHTML=nav_html;
list.innerHTML=list_html;

Loading…
Cancel
Save