From edc8ef04eb4a9034d46194722864d00f32aaadf1 Mon Sep 17 00:00:00 2001 From: 14790897 <14790897abc@gmail.com> Date: Thu, 18 Apr 2024 22:06:11 +0800 Subject: [PATCH] fix: remove button in pteer --- external.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external.js b/external.js index 86108d99..ba3b064f 100644 --- a/external.js +++ b/external.js @@ -249,7 +249,7 @@ button.style.border = "1px solid #ddd"; // 浅灰色边框 button.style.padding = "5px 10px"; // 内边距 button.style.borderRadius = "5px"; // 圆角 - document.body.appendChild(button); + // document.body.appendChild(button); button.onclick = function () { const currentlyReading = localStorage.getItem("read") === "true"; @@ -287,7 +287,7 @@ toggleAutoLikeButton.style.border = "1px solid #ddd"; // 浅灰色边框 toggleAutoLikeButton.style.padding = "5px 10px"; // 内边距 toggleAutoLikeButton.style.borderRadius = "5px"; // 圆角 - document.body.appendChild(toggleAutoLikeButton); + // document.body.appendChild(toggleAutoLikeButton); // 为按钮添加点击事件处理函数 toggleAutoLikeButton.addEventListener("click", () => {