mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-22 15:06:57 +00:00
优化 [2DFan] 规则
This commit is contained in:
@@ -735,25 +735,16 @@
|
||||
"replaceE": ".page_inner"
|
||||
}
|
||||
},
|
||||
"2DFan - 图文": {
|
||||
"2DFan": {
|
||||
"host": ["2dfan.com","www.2dfan.com","galge.fun"],
|
||||
"url": "return (fun.getCSS('#subjects')&&fun.getCSS('.pagination'))",
|
||||
"url": "return (fun.getCSS('.media-list,.topic-list')&&fun.getCSS('.pagination'))",
|
||||
"pager": {
|
||||
"nextL": "a[rel='next']",
|
||||
"pageE": "body",
|
||||
"insertP": ["#subjects>.media",5]
|
||||
"pageE": ".media-list>.media,.topic-list>tbody>tr",
|
||||
"replaceE": ".pagination>ul"
|
||||
},
|
||||
"function": {
|
||||
"bF": "o=document.createElement('div'); o.innerHTML=JSON.parse(pageE[0].textContent).subjects; fun.getCSS('.pagination').outerHTML = o.querySelector('.pagination').outerHTML; return fun.src_bF([].slice.call(o.querySelectorAll('.media')), [0,'img[data-normal]','data-normal'])"
|
||||
}
|
||||
},
|
||||
"2DFan - 表格": {
|
||||
"host": ["2dfan.com","www.2dfan.com","galge.fun"],
|
||||
"url": "return (fun.getCSS('.topic-list, .download-list')&&fun.getCSS('.pagination'))",
|
||||
"pager": {
|
||||
"nextL": "a[rel='next']",
|
||||
"pageE": ".topic-list>tbody>tr, .download-list>.media",
|
||||
"replaceE": ".pagination>ul"
|
||||
"bF": "return fun.src_bF(pageE, [0,'img[data-normal]','data-normal'])"
|
||||
}
|
||||
},
|
||||
"2DFan - 评论": {
|
||||
|
||||
Reference in New Issue
Block a user