2016-06-16 3 views
1

AdBlock에 의해 차단 된 앵커가있는 단락이 광고 게재 콘텐츠에 있으므로 AdBlock에 있어야합니다. 문제는 그것이 더 이상 의미가없는 문장에 있다는 것입니다. 요소 전후의 기간별로 제거하고 싶습니다. 일종의 정규 표현식을 생각하고 있지만 패턴의 단서는 없습니다. 아, 그리고 제발 제발 제발! 여기 참조 예입니다 : 기본적으로요소를 감싸는 문장을 제거합니다.

<div class="content">Ancient alien Annunaki otherworldly visitors clearly extraterrestrial golden disk mercury weightless, pre-colonial aerodynamics NASA clearly Vymaanika-Shaastra Sumerian texts space time. Burmuta triangle Indian texts clearly evidence cover up grey ancient alien, petroglyph sightings vimana Easter island gods inter-dimensional earth mound, I know it sounds crazy... Puma Punku mainstream archaelogy sightings.. Visit <a id="adContainer" href="https://ad.click.stuff">www.somesponsor.com</a> for details.</div>

답변

2

, 당신이해야 할 모든 문장이 광고의 일부로서 인식되어 있는지 확인합니다. 예를 들어 DIV 요소에 "ad-context"클래스를 추가 할 수 있습니다 (in EasyList).

+0

콘텐츠에 대한 제어권이 없으므로 자바 스크립트 만 사용할 수 있습니다. – user1873632

+0

자바 스크립트를 사용하여 콘텐츠를 수정할 수는 있지만 귀하의 경우에는 효과가 없을 경우 Adblock Plus가 [상위 요소 숨기기 기능 구현] (https://issues.adblockplus.org/ticket/3143)을 기다릴 수 있습니다.) 그런 다음 [EasyList] (http://easylist.github.io/)에 그러한 필터를 추가하도록 요청하십시오. – greiner