views:

329

answers:

2

Im one of the Users who use Adblock. And i love it.

That question could be interesting for all of us. Once i visited a german developer website, I just saw a jquery fancybox, on that box there was a Message something like this: "You are using Adblock, this site is financed with ads. If you want be able to see the content deactivate Adblock or Remove it."

First i thought WOW thats funny. Im sure there is also an hack for this. Just using another user agent would give you access to the website content or not? ididnt tested but it could be Possible. In Future most Website Owners will prevent Users seeing the content of the site who uses Adblock.

How could we implement an Script like the above? nomatter which language we use javascript,php,asp,jsp and how could we hack it? with hack i mean seeing the content without deactivating the Adblock.

+3  A: 

http://www.thepcspy.com/read/how_to_block_adblock

Not that you should EVER do it. It's incredibly anti-consumerist and IMO, plainly stupid.

Chris
Why would you answer then?
Chuck Vose
That page is over two years old and makes odd assumptions on how AdBlock/AdBlock Plus work... iirc AdBlock Plus removes the div from the DOM entirely, so the code presented on that page would just fail with a JavaScript error.
R. Bemrose
Ok we should first thing about website owners they can just earn money from advertising. Most site owners earn money from ads, what if no one is seeing ads? can the click on ads without seeing it? my answer is no.
streetparade
@Chuck, because he asked. @R. Bemrose, things are most certainly a bit different, but the concept remains the same. @street: blocking ad block users from visiting your site is akin to cable operators preventing fast forward over commercials in their "DVR" offerings. May be perfectly within their right to do so, but it's pretty stupid, again, IMO.
Chris
@Chris its true and valid in most cases
streetparade
+1  A: 

Just create the content of the site within something which will be blocked by AdBlock, and leave this message on the background.

On the other hand, you could try to get the status of an element using JavaScript, but I'm not sure if this is working.

Bobby