优化 [部分 WordPress 网站] 通用规则

This commit is contained in:
xiu2
2022-04-14 12:20:57 +08:00
parent 9d91dc236e
commit 8302be9145
2 changed files with 1 additions and 12 deletions
+1 -1
View File
@@ -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,
-11
View File
@@ -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')",