[請問] ublock怎擋特定的Inline script

看板Ajax作者 (cralvin)時間2年前 (2022/07/29 10:09), 編輯推噓0(001)
留言1則, 1人參與, 2年前最新討論串1/1
https://github.com/gorhill/uBlock/wiki/Inline-script-tag-filtering 舉例來說 <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> www.micmicidol.com##^script:has-text(showAlert) 上面這行waterfox有用 Not supported in Chromium-based browser. 請問用在chrome要怎寫? https://github.com/uBlockOrigin/uBlock-issues/wiki/Resources-Library 好像是答案、那位看的懂Examples? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.237.14.75 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1659060581.A.F19.html

08/01 11:43, 2年前 , 1F
一開始就說 Not supported in Chromium-based 了啊
08/01 11:43, 1F
文章代碼(AID): #1Yuq5byP (Ajax)
文章代碼(AID): #1Yuq5byP (Ajax)