Adblock Trap -

Discussion on how to block ads on a certain site, why your filter doesn't work or how it can be optimized

Adblock Trap -

Postby cb+++ » Tue Mar 27, 2012 12:00 pm


I found a anti-adblock trap at this web site:

Example url:

Filter list: Easylist

Here is the code of the trap:
[code="html"]<script type="text/javascript">
var utb_trap = false;
<script type="text/javascript" src=""></script>
<script type="text/javascript">
if (utb_trap != true) {
window.location = "/pages/adblock.html";
if ($('.page-top').text().length > 70) {
var tmp_txt = $('.page-top').html().substr(0, 70);
Working filter
The following whitelist filter seems to work around the trap:
Code: Select all

Re: Adblock Trap -

Postby MonztA » Tue Mar 27, 2012 1:43 pm

ABP filter list maintainer
Posts: 3853
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Adblock Trap -

Postby Ricard33 » Wed May 29, 2013 11:18 pm

The trap is working again.

Re: Adblock Trap -

Postby Ricard33 » Thu May 30, 2013 8:57 pm

Thanks, the script in the last post works greatly :D

Return to Filters for Adblock Plus

Who is online

Users browsing this forum: No registered users and 4 guests