From 9a93e467259d3542ef9fa6cea7d1e311c8ecbec5 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 26 Apr 2022 19:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[RARBG]=E3=80=81[=E7=99=BE?= =?UTF-8?q?=E5=BA=A6=E8=B4=B4=E5=90=A7=20-=20=E5=B8=96=E5=AD=90=E5=86=85]?= =?UTF-8?q?=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 67caeb2..d65a242 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -331,7 +331,6 @@ "百度贴吧 - 帖子内": { "host": ["tieba.baidu.com","jump2.bdimg.com"], "url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ", - "blank": 1, "iframe": true, "thread": true, "style": ".d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}", @@ -2506,12 +2505,15 @@ }, "RARBG": { "host": "/rarbg/", - "url": "return (document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php')", + "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}", "blank": 3, "pager": { "nextL": "#pager_links>a[title='next page']", "pageE": "table.lista2t tr.lista2", "replaceE": "#pager_links" + }, + "function": { + "bF": "pageE.forEach((one)=>{let now=fun.getCSS('td>a[onmouseover]',one);now.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover');now.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout');});return pageE" } }, "Zooqle": {