mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
wyn
This commit is contained in:
@@ -26,12 +26,13 @@ yourfones.net#%#//scriptlet('spoof-css', 'ins.adsbygoogle', 'display', 'block')
|
||||
mytry.jp#@#.ad_box
|
||||
mytry.jp#$#body > #container { display: block !important; }
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/190943
|
||||
wiki.yjsnpi.nu#%#//scriptlet('prevent-eval-if', 'adoptNode')
|
||||
wiki.yjsnpi.nu#%#const shuffleArray=e=>e.sort((()=>Math.random()-Math.random()));function fetchComments(e){const t=new XMLHttpRequest;let n;t.onreadystatechange=()=>{4===t.readyState&&200===t.status&&(n=JSON.parse(t.responseText),renderComments(n))},t.open("GET","/comments/comments.php?article_id="+RLCONF.wgArticleId+"&cursor="+e,!0),t.send()}function fetchMore(e){fetchComments(e.target.dataset.cursor)}function renderComments(e){const t=document.querySelector("#comments"),n=document.querySelector("#comments-contents"),o=document.querySelector("#comments-loading"),c=document.querySelector("#comments-more"),m=document.querySelector("#comments-recent");if(o&&o.remove(),c&&c.remove(),e.comments.forEach((e=>{const n=window.comments.template.querySelector("#comment").cloneNode(!0);n.id="comment-"+e.number,n.dataset.commentId=e.comment_id,n.querySelector(".comment-author").innerHTML=e.author,n.querySelector(".comment-timestamp").innerHTML=e.created_at,n.querySelector(".comment-body").innerHTML=e.comment,t.appendChild(n)})),e.cursor>0){const t=window.comments.template.querySelector("#comments-more").cloneNode(!0);t.dataset.cursor=e.cursor,t.addEventListener("click",fetchMore),n.appendChild(t)}const r=document.createElement("ul");e.recent=shuffleArray(e.recent),e.recent.forEach((e=>{const t=document.createElement("li"),n=document.createElement("a");n.href="/w/index.php?curid="+e.article_id,e.comment.length>70&&(e.comment=e.comment.substring(0,70)+"…"),n.innerHTML=e.comment,t.appendChild(n),r.appendChild(t)})),m.appendChild(r.cloneNode(!0)),m.appendChild(r.cloneNode(!0)),"#comments-section"==location.hash&&(location.hash="",location.hash="#comments-section")}function submitComment(e){const t=document.querySelector('#comment-editor input[name="author"]'),n=document.querySelector("#comment-editor textarea");if(""==n.value)return void mw.notify("(本文が)ないです");e.target.disabled=!0,e.target.innerHTML="送信中…";const o={article_id:RLCONF.wgArticleId,author:t.value,comment:n.value},c=[];for(const[e,t]of Object.entries(o))c.push(`${encodeURIComponent(e)}=${encodeURIComponent(t)}`);const m=new XMLHttpRequest;m.onreadystatechange=()=>{4===m.readyState&&(e.target.disabled=!1,e.target.innerHTML="投稿する",200===m.status?(mw.notify("投稿しました"),t.value="",n.value="",document.querySelector("#comments").innerHTML="",document.querySelector("#comments-recent").innerHTML="",setTimeout((()=>{fetchComments(0)}),"100")):403===m.status?mw.notify("(フリーWi-Fiからは書け)ないです"):429===m.status?mw.notify("書きすぎィ!ちょっと待って、どうぞ!"):mw.notify("投稿できませんでした…"))},m.open("POST","/comments/comments.php"),m.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),m.send(c.join("&").replace(/%20/g,"+"))}window.addEventListener("load",(()=>{if(0==RLCONF.wgNamespaceNumber&&"view"==RLCONF.wgAction&&0!=RLCONF.wgArticleId&&!RLCONF.wgIsRedirect&&RLCONF.wgRevisionId==RLCONF.wgCurRevisionId){"#comments-section"==location.hash&&window.scroll(0,document.documentElement.scrollHeight-document.documentElement.clientHeight),window.comments={};const e=new XMLHttpRequest;e.onreadystatechange=()=>{4===e.readyState&&200===e.status&&(window.comments.template=(new DOMParser).parseFromString(e.responseText,"text/html").body,document.querySelector("#bodyContent").appendChild(window.comments.template.querySelector("#comments-section")),document.querySelector("#comment-submit").addEventListener("click",submitComment),fetchComments(0))},e.open("GET","/comments/template.html",!0),e.send()}}));
|
||||
!#if (!adguard_app_ios && !adguard_ext_android_cb && !adguard_ext_firefox && !ext_ublock)
|
||||
||wiki.yjsnpi.nu^$script
|
||||
@@||wiki.yjsnpi.nu/yjsnpi.js$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=startup$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=codex-search-styles$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=ext.visualEditor.$script,~third-party
|
||||
!#endif
|
||||
!+ PLATFORM(ext_ff)
|
||||
||wiki.yjsnpi.nu/comments/comments.js$replace=/^.*(\,).*\$/const shuffleArray=e=>e.sort((()=>Math.random()-Math.random()));function fetchComments(e){const t=new XMLHttpRequest;let n;t.onreadystatechange=()=>{4===t.readyState&&200===t.status&&(n=JSON.parse(t.responseText)\$1renderComments(n))}\$1t.open("GET"\$1"\/comments\/comments.php?article_id="+RLCONF.wgArticleId+"&cursor="+e\$1!0)\$1t.send()}function fetchMore(e){fetchComments(e.target.dataset.cursor)}function renderComments(e){const t=document.querySelector("#comments")\$1n=document.querySelector("#comments-contents")\$1o=document.querySelector("#comments-loading")\$1c=document.querySelector("#comments-more")\$1m=document.querySelector("#comments-recent");if(o&&o.remove()\$1c&&c.remove()\$1e.comments.forEach((e=>{const n=window.comments.template.querySelector("#comment").cloneNode(!0);n.id="comment-"+e.number\$1n.dataset.commentId=e.comment_id\$1n.querySelector(".comment-author").innerHTML=e.author\$1n.querySelector(".comment-timestamp").innerHTML=e.created_at\$1n.querySelector(".comment-body").innerHTML=e.comment\$1t.appendChild(n)}))\$1e.cursor>0){const t=window.comments.template.querySelector("#comments-more").cloneNode(!0);t.dataset.cursor=e.cursor\$1t.addEventListener("click"\$1fetchMore)\$1n.appendChild(t)}const r=document.createElement("ul");e.recent=shuffleArray(e.recent)\$1e.recent.forEach((e=>{const t=document.createElement("li")\$1n=document.createElement("a");n.href="\/w\/index.php?curid="+e.article_id\$1e.comment.length>70&&(e.comment=e.comment.substring(0\$170)+"…")\$1n.innerHTML=e.comment\$1t.appendChild(n)\$1r.appendChild(t)}))\$1m.appendChild(r.cloneNode(!0))\$1m.appendChild(r.cloneNode(!0))\$1"#comments-section"==location.hash&&(location.hash=""\$1location.hash="#comments-section")}function submitComment(e){const t=document.querySelector('#comment-editor input[name="author"]')\$1n=document.querySelector("#comment-editor textarea");if(""==n.value)return void mw.notify("(本文が)ないです");e.target.disabled=!0\$1e.target.innerHTML="送信中…";const o={article_id:RLCONF.wgArticleId\$1author:t.value\$1comment:n.value}\$1c=[];for(const[e\$1t]of Object.entries(o))c.push(`\\${encodeURIComponent(e)}=\\${encodeURIComponent(t)}`);const m=new XMLHttpRequest;m.onreadystatechange=()=>{4===m.readyState&&(e.target.disabled=!1\$1e.target.innerHTML="投稿する"\$1200===m.status?(mw.notify("投稿しました")\$1t.value=""\$1n.value=""\$1document.querySelector("#comments").innerHTML=""\$1document.querySelector("#comments-recent").innerHTML=""\$1setTimeout((()=>{fetchComments(0)})\$1"100")):403===m.status?mw.notify("(フリーWi-Fiからは書け)ないです"):429===m.status?mw.notify("書きすぎィ!ちょっと待って、どうぞ!"):mw.notify("投稿できませんでした…"))}\$1m.open("POST"\$1"\/comments\/comments.php")\$1m.setRequestHeader("Content-Type"\$1"application\/x-www-form-urlencoded")\$1m.send(c.join("&").replace(\/%20\/g\$1"+"))}window.addEventListener("load"\$1(()=>{if(0==RLCONF.wgNamespaceNumber&&"view"==RLCONF.wgAction&&0!=RLCONF.wgArticleId&&!RLCONF.wgIsRedirect&&RLCONF.wgRevisionId==RLCONF.wgCurRevisionId){"#comments-section"==location.hash&&window.scroll(0\$1document.documentElement.scrollHeight-document.documentElement.clientHeight)\$1window.comments={};const e=new XMLHttpRequest;e.onreadystatechange=()=>{4===e.readyState&&200===e.status&&(window.comments.template=(new DOMParser).parseFromString(e.responseText\$1"text\/html").body\$1document.querySelector("#bodyContent").appendChild(window.comments.template.querySelector("#comments-section"))\$1document.querySelector("#comment-submit").addEventListener("click"\$1submitComment)\$1fetchComments(0))}\$1e.open("GET"\$1"\/comments\/template.html"\$1!0)\$1e.send()}}));/
|
||||
|
||||
@@ -342,11 +342,14 @@ vibefm.pl##.article__placement
|
||||
! NOTE: Frequently updated sites
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/190943
|
||||
wiki.yjsnpi.nu#%#//scriptlet('prevent-eval-if', 'adoptNode')
|
||||
wiki.yjsnpi.nu#@%#//scriptlet('prevent-eval-if', 'adoptNode')
|
||||
wiki.yjsnpi.nu#%#const shuffleArray=e=>e.sort((()=>Math.random()-Math.random()));function fetchComments(e){const t=new XMLHttpRequest;let n;t.onreadystatechange=()=>{4===t.readyState&&200===t.status&&(n=JSON.parse(t.responseText),renderComments(n))},t.open("GET","/comments/comments.php?article_id="+RLCONF.wgArticleId+"&cursor="+e,!0),t.send()}function fetchMore(e){fetchComments(e.target.dataset.cursor)}function renderComments(e){const t=document.querySelector("#comments"),n=document.querySelector("#comments-contents"),o=document.querySelector("#comments-loading"),c=document.querySelector("#comments-more"),m=document.querySelector("#comments-recent");if(o&&o.remove(),c&&c.remove(),e.comments.forEach((e=>{const n=window.comments.template.querySelector("#comment").cloneNode(!0);n.id="comment-"+e.number,n.dataset.commentId=e.comment_id,n.querySelector(".comment-author").innerHTML=e.author,n.querySelector(".comment-timestamp").innerHTML=e.created_at,n.querySelector(".comment-body").innerHTML=e.comment,t.appendChild(n)})),e.cursor>0){const t=window.comments.template.querySelector("#comments-more").cloneNode(!0);t.dataset.cursor=e.cursor,t.addEventListener("click",fetchMore),n.appendChild(t)}const r=document.createElement("ul");e.recent=shuffleArray(e.recent),e.recent.forEach((e=>{const t=document.createElement("li"),n=document.createElement("a");n.href="/w/index.php?curid="+e.article_id,e.comment.length>70&&(e.comment=e.comment.substring(0,70)+"…"),n.innerHTML=e.comment,t.appendChild(n),r.appendChild(t)})),m.appendChild(r.cloneNode(!0)),m.appendChild(r.cloneNode(!0)),"#comments-section"==location.hash&&(location.hash="",location.hash="#comments-section")}function submitComment(e){const t=document.querySelector('#comment-editor input[name="author"]'),n=document.querySelector("#comment-editor textarea");if(""==n.value)return void mw.notify("(本文が)ないです");e.target.disabled=!0,e.target.innerHTML="送信中…";const o={article_id:RLCONF.wgArticleId,author:t.value,comment:n.value},c=[];for(const[e,t]of Object.entries(o))c.push(`${encodeURIComponent(e)}=${encodeURIComponent(t)}`);const m=new XMLHttpRequest;m.onreadystatechange=()=>{4===m.readyState&&(e.target.disabled=!1,e.target.innerHTML="投稿する",200===m.status?(mw.notify("投稿しました"),t.value="",n.value="",document.querySelector("#comments").innerHTML="",document.querySelector("#comments-recent").innerHTML="",setTimeout((()=>{fetchComments(0)}),"100")):403===m.status?mw.notify("(フリーWi-Fiからは書け)ないです"):429===m.status?mw.notify("書きすぎィ!ちょっと待って、どうぞ!"):mw.notify("投稿できませんでした…"))},m.open("POST","/comments/comments.php"),m.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),m.send(c.join("&").replace(/%20/g,"+"))}window.addEventListener("load",(()=>{if(0==RLCONF.wgNamespaceNumber&&"view"==RLCONF.wgAction&&0!=RLCONF.wgArticleId&&!RLCONF.wgIsRedirect&&RLCONF.wgRevisionId==RLCONF.wgCurRevisionId){"#comments-section"==location.hash&&window.scroll(0,document.documentElement.scrollHeight-document.documentElement.clientHeight),window.comments={};const e=new XMLHttpRequest;e.onreadystatechange=()=>{4===e.readyState&&200===e.status&&(window.comments.template=(new DOMParser).parseFromString(e.responseText,"text/html").body,document.querySelector("#bodyContent").appendChild(window.comments.template.querySelector("#comments-section")),document.querySelector("#comment-submit").addEventListener("click",submitComment),fetchComments(0))},e.open("GET","/comments/template.html",!0),e.send()}}));
|
||||
||wiki.yjsnpi.nu^$script
|
||||
@@||wiki.yjsnpi.nu/yjsnpi.js$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=startup$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=codex-search-styles$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?lang=ja&modules=ext.visualEditor.$script,~third-party
|
||||
@@||wiki.yjsnpi.nu/w/load.php?$script,~third-party,badfilter
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/189567
|
||||
japscan.lol##body > .container.text-center > .mb-2.mt-2[style="margin: 0px auto; display: block;"] > iframe[id^="__clb-"][id$="_container"][style="display: inline-block; width: 300px; height: 100px; border: medium; margin: 0px; padding: 0px;"][sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-forms allow-scripts allow-top-navigation-to-custom-protocols"][scrolling="no"]
|
||||
japscan.lol##body > style + .container > .row > #main + #sidebar.col-md-3 > .card.mt-1 > .card[style="margin: 0px auto; display: block;"] > iframe[id^="__clb-"][id$="_container"][style="display: inline-block; width: 300px; height: 250px; border: medium; margin: 0px; padding: 0px;"][sandbox="allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-forms allow-scripts allow-top-navigation-to-custom-protocols"][scrolling="no"]
|
||||
|
||||
Reference in New Issue
Block a user