add
This commit is contained in:
parent
14db6b5af3
commit
ef3194cebc
@ -1,6 +1,6 @@
|
|||||||
```javascript
|
```javascript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name NPS自动分页50条
|
// @name NPS自动分页20条
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @version 1.0
|
// @version 1.0
|
||||||
// @description 页面加载完成后自动点击指定按钮和分页链接
|
// @description 页面加载完成后自动点击指定按钮和分页链接
|
||||||
@ -17,7 +17,7 @@
|
|||||||
if (dropdownButton) {
|
if (dropdownButton) {
|
||||||
dropdownButton.click();
|
dropdownButton.click();
|
||||||
setTimeout(() => {
|
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(4)");
|
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)");
|
||||||
if (fourthLink) {
|
if (fourthLink) {
|
||||||
fourthLink.click();
|
fourthLink.click();
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user