mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-07 11:27:41 +00:00
优化 [部分 WordPress 网站] 通用规则
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ function: {
|
||||
if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {
|
||||
curSite = DBSite.wp_article; curSite.pager.nextL = nextL;
|
||||
// 自适应瀑布流样式
|
||||
setTimeout(function(){if (getCSS(curSite.pager.pageE).style.cssText.indexOf('position: absolute') != -1){insStyle(curSite.pager.pageE + '{position: static !important; float: left !important; height: '+ parseInt(getCSS(curSite.pager.pageE).offsetHeight * 1.1) + 'px !important;}');}}, 1000);
|
||||
setTimeout(function(){if (getCSS(curSite.pager.pageE).style.cssText.indexOf('position: absolute') != -1){insStyle(curSite.pager.pageE + '{position: static !important; float: left !important; height: '+ parseInt(getCSS(curSite.pager.pageE).offsetHeight * 1.1) + 'px !important;}');}}, 1500);
|
||||
}
|
||||
},
|
||||
blank: 3,
|
||||
|
||||
@@ -1877,17 +1877,6 @@
|
||||
"replaceE": ".ajax-pager"
|
||||
}
|
||||
},
|
||||
"flysheep": {
|
||||
"host": "www.flysheep6.com",
|
||||
"url": "return (!fun.indexOF(/^\\/archives\\/\\d/))",
|
||||
"style": "#content>.post {position: static !important; float: left !important; height: 500px !important;}",
|
||||
"blank": 3,
|
||||
"pager": {
|
||||
"nextL": "a.next",
|
||||
"pageE": "#content>.post",
|
||||
"replaceE": ".pagination"
|
||||
}
|
||||
},
|
||||
"cs.rin.ru - 帖子列表": {
|
||||
"host": "cs.rin.ru",
|
||||
"url": "return (fun.lp() == '/forum/viewforum.php')",
|
||||
|
||||
Reference in New Issue
Block a user