From c7f7efafe578fb3209cf2cb50b2f400a4dea7ba1 Mon Sep 17 00:00:00 2001 From: PJ568 Date: Tue, 13 Jun 2023 20:25:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8F=B3=E9=94=AE=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 13 ++----------- 568tools | 2 +- about/index.html | 24 +++++++++--------------- comment/index.html | 13 ++----------- contextmenu.html | 10 ++++++++++ css/tool_type.css | 4 ++-- index.html | 14 +++----------- js/include.js | 18 ++++++++++-------- js/popup.js | 2 +- 9 files changed, 40 insertions(+), 60 deletions(-) create mode 100644 contextmenu.html diff --git a/404.html b/404.html index d2963271..2fb8c5b8 100644 --- a/404.html +++ b/404.html @@ -24,15 +24,6 @@ - + - - \ No newline at end of file + \ No newline at end of file diff --git a/568tools b/568tools index 1907c2a8..64b6456a 160000 --- a/568tools +++ b/568tools @@ -1 +1 @@ -Subproject commit 1907c2a8871d1537b5cc73585032a812b1b0154d +Subproject commit 64b6456affc77543db4d758dc2b29b16253d74d5 diff --git a/about/index.html b/about/index.html index 663dd687..a87501e5 100644 --- a/about/index.html +++ b/about/index.html @@ -5,7 +5,7 @@ 关于 568Tools 在线工具箱 - + @@ -13,9 +13,9 @@
- - + + - - \ No newline at end of file + \ No newline at end of file diff --git a/comment/index.html b/comment/index.html index 5aa4b34d..c612b513 100644 --- a/comment/index.html +++ b/comment/index.html @@ -37,15 +37,6 @@ - + - - \ No newline at end of file + \ No newline at end of file diff --git a/contextmenu.html b/contextmenu.html new file mode 100644 index 00000000..d3d198de --- /dev/null +++ b/contextmenu.html @@ -0,0 +1,10 @@ + + \ No newline at end of file diff --git a/css/tool_type.css b/css/tool_type.css index decbe97b..64c1a6e3 100644 --- a/css/tool_type.css +++ b/css/tool_type.css @@ -382,13 +382,13 @@ ins.adsbygoogle[data-ad-status="unfilled"]{ box-shadow:0 0 10px#252423 } #rcb_menu>li{ - border-radius: 10px; + border-radius: 6px; padding: 5px 10px 0 10px; height: 30px } #rcb_menu>li:hover{ background-color:#01579B; - color: #252423; + color: #FFF; cursor: pointer } #rcb_menu>.hr_break{ diff --git a/index.html b/index.html index 3d5c9c2d..c4b3b9a1 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ 568Tools 在线工具箱 +
@@ -36,17 +37,8 @@ - + - - \ No newline at end of file + \ No newline at end of file diff --git a/js/include.js b/js/include.js index 648b7dff..676f5e5f 100644 --- a/js/include.js +++ b/js/include.js @@ -1,9 +1,10 @@ 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) { + 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) { @@ -12,8 +13,9 @@ function includeHTML() { }; xhttp.open("GET", file, true); xhttp.send(); - } + })(element); } } - - document.addEventListener("DOMContentLoaded", includeHTML); \ No newline at end of file +} + +document.addEventListener("DOMContentLoaded", includeHTML); diff --git a/js/popup.js b/js/popup.js index 50085dff..da42ef21 100644 --- a/js/popup.js +++ b/js/popup.js @@ -39,7 +39,7 @@ function initData(){ list_html='', sotreList=localStorage.getItem('list'); // 初始化 - list_html+=`

欢迎使用 568Tools 在线工具箱

致力于创造并维护无需注册、下载和上传即可免费使用的静态在线工具环境。部分项目来源于开源项目,热门工具已被标记为浅蓝色。点击查看 json 数据。

如果您有问题或建议,请不要吝啬您的留言反馈,感谢使用及分享!本站欢迎提交您的页面,本站将持续更新。

下载 [568Tools 工具箱] 浏览器扩展插件或应用程序以供离线使用:谷歌 Chrome火狐 Firefox微软 Edgecrx文件下载

` + list_html+=`

欢迎使用 568Tools 在线工具箱

致力于创造并维护无需注册、下载和上传即可免费使用的静态在线工具环境。部分项目来源于开源项目,热门工具已被标记为浅蓝色。点击查看 json 数据。

如果您有问题或建议,请不要吝啬您的留言反馈,感谢使用及分享!本站欢迎提交您的页面,本站将持续更新。

下载 [568Tools 工具箱] 浏览器扩展插件或应用程序以供离线使用:安卓应用

` // nav_html+=`568Tools 在线工具箱|` // 初始化结束 if(!!sotreList){