Skip to content

Commit 0731268

Browse files
committed
优化 [RARBG] 规则
1 parent 4016de8 commit 0731268

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

other/Autopage/rules.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2566,7 +2566,8 @@
25662566
},
25672567
"RARBG": {
25682568
"host": "/rarbg/",
2569-
"url": "if(document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php'){fun.getAllCSS('table.lista2t tr.lista2 td>a[onmouseover]').forEach((now)=>{now.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover');now.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout');}); return true}",
2569+
"url": "if(document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php'){fun.getAllCSS('table.lista2t tr.lista2 td>a[onmouseover]').forEach((now)=>{now.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover');now.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout');}); fun.getAllCSS('.lista2t td.header>a').forEach((a)=>{a.setAttribute('onclick','1')}); return true}",
2570+
"style": "body{background-repeat-y: repeat;}",
25702571
"blank": 3,
25712572
"pager": {
25722573
"nextL": "#pager_links>a[title='next page']",

0 commit comments

Comments
 (0)