Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-07-2009, 04:52 PM   #1
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Any idea how to check if user has adblock?

Short of recoding a ton of files and urls, I need to figure out if a user has adblock and advise them that it's affecting how my site acts.
Any idea how to detect such?
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2009, 05:04 PM   #2
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
Quote:
Originally Posted by Twig View Post
Short of recoding a ton of files and urls, I need to figure out if a user has adblock and advise them that it's affecting how my site acts.
Any idea how to detect such?
i am interested two!
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 10:44 AM   #3
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Anyone have any clue? Google isn't helping too much.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 10:52 AM   #4
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
is adblock a specific service or do you mean adblockers in general ?

you could tie an "onload" command to an image in the ad

<a href=sponsor.html><img src=adimage.jpg onload=showpage();></a>

the showpage function would show the page , i.e. if the ad image doesnt load the page wont be displayed, or you could hide/show a div container that holds a message like "sorry you cant view our page with adblockers enabled , please disable your adblocker to view this page"
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 11:03 AM   #5
fatfoo
ICQ:649699063
 
Industry Role:
Join Date: Mar 2003
Posts: 27,763
Good question... adblock...

Any other ideas?
__________________
Send me an email: [email protected]
fatfoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 11:30 AM   #7
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
Quote:
Originally Posted by SmokeyTheBear View Post
is adblock a specific service or do you mean adblockers in general ?

you could tie an "onload" command to an image in the ad

<a href=sponsor.html><img src=adimage.jpg onload=showpage();></a>

the showpage function would show the page , i.e. if the ad image doesnt load the page wont be displayed, or you could hide/show a div container that holds a message like "sorry you cant view our page with adblockers enabled , please disable your adblocker to view this page"
I'll have to look into that.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 11:34 AM   #8
Max Cannon
Confirmed User
 
Join Date: May 2005
Posts: 277
Quote:
Originally Posted by EscortBiz View Post
surfers in these days have a built in ad blocker in their brain
Max Cannon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 12:41 PM   #9
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Throw your picture content in directories with names like /banners, /ads, /pictures/ads,....
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 01:39 PM   #10
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
This isn't my issue. My issue is that the site is a classifieds site, so a lot of pages user the word "ad" in them. "postad" "viewad" etc.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 03:30 PM   #11
Hotrocket
Confirmed User
 
Hotrocket's Avatar
 
Join Date: May 2004
Posts: 1,327
Here ya go...
http://www.phpbuddy.com/article.php?id=20
Hotrocket is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 03:46 PM   #12
mlove
the guy
 
mlove's Avatar
 
Industry Role:
Join Date: Apr 2005
Posts: 764
Quote:
Originally Posted by Hotrocket View Post
Ah, too bad adblockplus doesn't advertise itself in the mozilla useragent string.

Really, do you guys think the programmers of the project would make it that easy for you to disrupt the user's experience?

Currently using adblockplus in firefox, my user-agent:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
__________________
If you won't feel as good, I won't feel as cheap.
mlove is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-16-2009, 11:23 PM   #13
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
this should detect a blocker. but it sounds like in your case its not what your looking for.

what it does is waits 15 seconds then throws an alertbox and redirects the user to a sponsor url if they dont load the banner image

you can test it in adblockplus by adding a custom filter for
http://moronland.net/*

disable it and you will see a picture of a pepper , enable it and you will be redirected after 15 seconds.

Code:
<html>
<body>
<script>
var adblock = "yes";
setTimeout('badblock();', 15000);
function badblock(){
if (adblock == "yes"){
alert('ATTENTION you have an adblocker enabled or images disabled.\n\n This site functions on ad based revenue , please disable your adblockers and try again');
top.location.href="http://mysponsor.com";
}
}
</script>
<img src=http://moronland.net/media/pictures/wierd_pepper.jpg onload="adblock='no'">
</body>
</html>
figure someone might use it.. if gfy used it , it would sure piss some people off lol
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.