[請問] ublock怎砍特定inline-script?已刪文
<script>
if(sessionStorage.getItem('showAlert') !="false")
{alert("WARNING! Adult Language and Content! The page you requested
contains adult material or mature content that is not suitable for viewers
under the age of 18 years old. Customers under 18 years of age are prohibited
from accessing this page.");
sessionStorage.setItem('showAlert', "false");
}
</script>
想砍掉上面的script popup
只能砍上面這段,封all inline-script圖會出不來
https://github.com/gorhill/uBlock/wiki/Inline-script-tag-filtering
www.micmicidol.com##^script:has-text(showAlert)
照上面寫一直沒弄好
那位知道正確寫法?
thx
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.237.38.161 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/EZsoft/M.1656859134.A.DF6.html
EZsoft 近期熱門文章
PTT數位生活區 即時熱門文章