東方永頁機 Wiki
Auto Page for 90% of all web sites !
Buy me a coffee if it helps you with PayPal.Me
[
{
"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}"]
}
]
Name of the target site
Regexp of the url of target site
0 means stop action when all matched
The time to wait for page ready when you are sure the url match the site
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
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)
