🧐 🤔 그거 어떻게 쓰더라 🙄 😙

AdGaurd 설정 나무위키용 차단 필터

2023. 7. 21. Evergood Kim이가 씀

# 튜토리얼에 있는 예외 규칙은 씨알도 안 먹히고, 마지막에 :not(...)도 됐다가 지금은 안 되길래 어쩔 수 없이 :not을 지우고 이전 설정을 덮어쓰는 설정을 그 맡에 추가함. 광고가 잘 없어졌는지, 혹시 엉뚱한 요소에 적용됐는지 확인하기 위해 아예 삭제가 아니라 고개만 빼꼼 내밀게 했다.
# 본문 상자 안에서 마지막 요소. ※예외: #href="rfn-어쩌고"인 요소(주석들)
# namu.wiki#$?#div:has(>h2)>div:nth-last-child(1):not(*:has(a[href^="#rfn"])) {background-color: blue; !important;}
namu.wiki#$?#div:has(>h2)>div:nth-last-child(1) {border-bottom: 10px dashed #8a8!important; height:80px; max-height:80px; overflow:hidden!important;}
namu.wiki#$?#*:has(a[href^="#rfn"]) { height:auto !important; max-height:unset!important;}
# 본문 상자 안에서 마지막에서 두번째 요소. ※예외: 제목 태그들 바로 뒤 (문서에 주석 없는 경우의 마지막 문단)
# namu.wiki#$?#div:has(>h2)>div:nth-last-child(2):not(h2+*,h3+*,h4+*,h5+*,h6+*) {background-color: yellow; !important;}
namu.wiki#$?#div:has(>h2)>div:nth-last-child(2) {border-bottom: 10px dashed #88a!important; height:80px; max-height:80px; overflow:hidden!important;}
namu.wiki#$?#h2+*,h3+*,h4+*,h5+*,h6+*{ height:auto !important; max-height:unset!important;}

728x90