Giter Club home page Giter Club logo

Comments (5)

yous avatar yous commented on June 1, 2024

안녕하세요, 제보 감사합니다.

BlockAdBlock(또는 FuckAdBlock)에서 기본적으로 탑재하고 있는 광고 차단 플러그인 감지 방법을 설명드리자면,

<div class="pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links"
    style="width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;">
</div>

위와 같은 미끼 요소를 만들어서 해당 <div>가 숨겨지는지를 확인합니다. 그런데 EasyList 등의 필터에는 일반적인 class를 숨기도록 되어 있기 때문에 많이 감지되는 것 같아요. 그래서 c895ae3 커밋에서 해당 class는 일단 숨기지 않도록 필터에 추가했습니다.

  • EasyList
  • EasyList without element hiding rules
  • Fanboy+Easylist-Merged Ultimate List
  • KOR: Fanboy's Korean
  • KOR: Korean Adblock List

필터를 같이 켰을 때 디시인사이드에서 감지되지 않는 것 확인했습니다. 다만 List-KR의 경우엔 디시인사이드에서 검사하고 있는 요소를 직접 가리기 때문인지 동작하진 않습니다.

from youslist.

yous avatar yous commented on June 1, 2024

다시 확인한 결과 게시판 목록에서는 EasyList, Fanboy+Easylist-Merged Ultimate List, KOR: Fanboy's Korean 필터와 같이 사용해도 무관하지만 갤러리 글을 조회하면 다시 팝업이 뜨는 것을 확인했습니다. 이 경우엔 #dc_advertisement를 가리고 있어서 그런데요, 내 필터에 다음 줄을 추가하시면 같이 사용하실 수 있습니다.

#@##dc_advertisement

from youslist.

yous avatar yous commented on June 1, 2024

사파리에서는 제대로 동작하는데 크롬에선 되지 않는 것을 확인했습니다. 예외가 적용되는 시점 문제 때문인지 팝업이 뜨네요. 지금으로서는 별다른 해결 방법을 찾지 못했습니다.

from youslist.

AndMeda avatar AndMeda commented on June 1, 2024

크롬 유블럭 오리진 내 필터에 gall.dcinside.com##DIV[style*="position: fixed;"]를 추가해서
따로 해결하긴 했습니다. 이경우 특별히 문제가 되는점은 없나요?

from youslist.

yous avatar yous commented on June 1, 2024

지금으로서는 추가로 가리는 요소 없이 정상적으로 작동하는 것 같습니다.

from youslist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.