From f1f2284c5669e37513c4dcc08f038a5a8297a671 Mon Sep 17 00:00:00 2001 From: 8ga Date: Tue, 21 Oct 2025 11:18:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20202510=5F=E6=B2=B9?= =?UTF-8?q?=E7=8C=B4=5FNPS=E8=87=AA=E5=8A=A8=E6=9C=80=E5=A4=A7=E5=88=86?= =?UTF-8?q?=E9=A1=B5.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...猴脚本_NPS默认20条.md => 202510_油猴_NPS自动最大分页.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename 202510_油猴脚本_NPS默认20条.md => 202510_油猴_NPS自动最大分页.md (91%) diff --git a/202510_油猴脚本_NPS默认20条.md b/202510_油猴_NPS自动最大分页.md similarity index 91% rename from 202510_油猴脚本_NPS默认20条.md rename to 202510_油猴_NPS自动最大分页.md index 4abccc1..704db16 100644 --- a/202510_油猴脚本_NPS默认20条.md +++ b/202510_油猴_NPS自动最大分页.md @@ -1,6 +1,6 @@ -```javascript +``` // ==UserScript== -// @name NPS自动分页20条 +// @name NPS自动最大分页 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 页面加载完成后自动点击指定按钮和分页链接 @@ -17,7 +17,7 @@ if (dropdownButton) { dropdownButton.click(); setTimeout(() => { - const fourthLink = document.querySelector("#page-wrapper > div.wrapper.wrapper-content.animated.fadeInRight > div > div > div > div.ibox-content > div.bootstrap-table.bootstrap4 > div.fixed-table-pagination > div.float-left.pagination-detail > span.page-list > span > div > a:nth-child(3)"); + const fourthLink = document.querySelector("#page-wrapper > div.wrapper.wrapper-content.animated.fadeInRight > div > div > div > div.ibox-content > div.bootstrap-table.bootstrap4 > div.fixed-table-pagination > div.float-left.pagination-detail > span.page-list > span > div > a:nth-child(4)"); if (fourthLink) { fourthLink.click(); }