Skip to content

Commit

Permalink
disabled obsolete or incompatible rules in regional list
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki2718 committed Nov 13, 2024
1 parent 199b909 commit 4c8b9e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filters/quick-fixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ afl3ua5u.xyz,jmzkzesy.xyz##+js(acs, Math, localStorage['\x)

! https://github.com/AdguardTeam/AdguardFilters/issues/190943
wiki.yjsnpi.nu#@#+js(rmnt, script, /\(\(\)=>\{function [A-z]+\(\)\{const /, stay, 1)
wiki.yjsnpi.nu#@#+js(nostif, /\(\)=>[0-9A-z]+\(\)/)
wiki.yjsnpi.nu#@#+js(nostif, /\(\)=>\{[0-9A-z]+=[0-9A-z]+/)
wiki.yjsnpi.nu#@#+js(nostif, /\(\)=>\{.+catch/)
wiki.yjsnpi.nu#@#+js(rmnt, script, /\+[\'"`]\w.+catch/)
wiki.yjsnpi.nu#@#+js(acs, onload, catch)
!#if cap_html_filtering
||wiki.yjsnpi.nu/comments/assets/comments.js$replace=/^[\S\s]*(\,)[\S\s]*/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\/assets\/template.html"\$1!0)\$1e.send()}}));/
||wiki.yjsnpi.nu/yjsnpi.js$replace=/^[\S\s]*(\,)[\S\s]*/function copyToClipboad(e){navigator.clipboard.writeText(this.caller.dataset.text).then((()=>{mw.notify("クリップボードにコピーしました")\$1gtag("event"\$1"clipboard"\$1{wgTitle:RLCONF.wgTitle\$1clipboard_status:"done"})})\$1(()=>{mw.notify("クリップボードにコピーできませんでした…")\$1gtag("event"\$1"clipboard"\$1{wgTitle:RLCONF.wgTitle\$1clipboard_status:"failed"})}))}function searchProduct(e){var t="";if("FANZA"===this.caller.dataset.asp){{const e="https:\/\/www.dmm.co.jp\/digital\/videoa\/-\/list\/search\/=\/?searchstr="+encodeURI(RLCONF.wgPageName);t="https:\/\/al.dmm.co.jp\/?lurl="+encodeURI(e)+"&af_id=takayama-001&ch=toolbar&ch_id=link"}window.open(t\$1"_blank")\$1gtag("event"\$1"search_products"\$1{wgTitle:RLCONF.wgTitle\$1asp:this.caller.dataset.asp})}}function sfw(e){this.caller.classList.remove("nsfw")\$1gtag("event"\$1"nsfw"\$1{wgTitle:RLCONF.wgTitle})}document.querySelectorAll(".copy_to_clipboard").forEach((e=>{e.addEventListener("click"\$1{caller:e\$1handleEvent:copyToClipboad})}))\$1document.querySelectorAll(".search_products").forEach((e=>{e.addEventListener("click"\$1{caller:e\$1handleEvent:searchProduct})}))\$1document.querySelectorAll(".share_button").forEach((e=>{e.addEventListener("click"\$1(async e=>{const t={title:RLCONF.wgTitle+" - 真夏の夜の淫夢Wiki"\$1text:RLCONF.wgTitle+" - 真夏の夜の淫夢Wiki"\$1url:getAbsolutePath("\/wiki\/"+encodeURI(RLCONF.wgPageName))};if(navigator.canShare&&navigator.canShare(t))try{await navigator.share(t)\$1mw.notify("シェアしました")\$1gtag("event"\$1"share"\$1{wgTitle:RLCONF.wgTitle\$1share_type:"share"\$1share_status:"done"})}catch(e){mw.notify("シェアできませんでした…")\$1gtag("event"\$1"share"\$1{wgTitle:RLCONF.wgTitle\$1share_type:"share"\$1share_status:"cancelled"})}else navigator.clipboard.writeText(t.text+" "+t.url).then((()=>{mw.notify("クリップボードにコピーしました")\$1gtag("event"\$1"share"\$1{wgTitle:RLCONF.wgTitle\$1share_type:"clipboard"\$1share_status:"done"})})\$1(()=>{mw.notify("クリップボードにコピーできませんでした…")\$1gtag("event"\$1"share"\$1{wgTitle:RLCONF.wgTitle\$1share_type:"clipboard"\$1share_status:"failed"})}))}))}))\$1document.querySelectorAll(".nsfw").forEach((e=>{e.addEventListener("click"\$1{caller:e\$1handleEvent:sfw})}));/
Expand Down

0 comments on commit 4c8b9e2

Please sign in to comment.