東方永頁機 Wiki
Pagetual - Perpetual pages. Auto loading paginated web pages for 90% of all web sites !
[
{
"name":"yande",
"action":0,
"url":"^https:\/\/yande\\.re\/",
"pageElement":"ul#post-list-posts>li",
"nextLink":"a.next_page",
"css":".javascript-hide {display: inline-block !important;}"
},
{
"name":"tieba",
"action":1,
"url":"^https:\/\/tieba\\.baidu.com\/f\\?kw=",
"pageElement":"ul#thread_list>li",
"nextLink":".next.pagination-item "
},
{
"name":"xxgame",
"action":0,
"url":"^http://www\\.xxgame\\.net/chinese",
"pageElement":"div.layui-row>div.layui-col-md4:not(div:nth-child(5),div:nth-child(6),div:nth-child(7))",
"nextLinkByUrl":["(http://www\\.xxgame\\.net/chinese/?)(?:\\?page=|$)(\\d*)","$1?page={($2.0||1)+1}"]
}
]
Buy me a coffee if it helps you with PayPal.Me
Name of the target site
Author of this rule
Example url of this rule
Regexp of the url of target site
Sometimes the next link and page element will be inexistence, set this to true so you can select the rule just with url
0 means stop action when all matched
The time to wait for page ready when you are sure the url match the site, you can also use a js code which return a boolean to check if the page is ready instead
0 means xpath, 1 or undifined means css selector
0 means load url and insert to div, 1 means load by iframe so that js on page may action, 2 means force insert to bottom
Selector of next page link, disable when set to 0
If there is no next element, you can use this to generate a href from current url, [0] means RegExp string, [1] means replace string, you can use {} to eval simple code
Use this to eval js code and return target url of next page with doc (document of every page loaded)
Selector of main content which need to insert
Use this to eval js code and create the elements whatever you want to insert, a over([]) is needed to callback with elements array for insert
The attr of image which target to real src
Add css so you can show some hided element
Which position you want to insert
1 means insert before, 2 means just append to the bottom of target
The js code to run with every page inserted with doc:(document of every page loaded) and eles:(elements found with rule)
The js code to run with current main page with document:(document of main page)
Selector of load more button
Sleep time when get next page if site is limited
The multi-windowHeight which you can set to 2 or 3 while some sites load next page slowly
