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 12-06-2010, 12:47 AM   #1
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
:stoned Fuck firefox adblock ( CODE )

Code:
<style>
#overlay {
z-index:1000;
position:absolute;
top:0;
bottom:0;
left:0;
width:100%;
background:#000;
opacity:0.45;
-moz-opacity:0.45;
filter:alpha(opacity=45);
visibility:hidden;
}
</style>
<script>
var abp = "yes";
window.setTimeout('check4abp();',5000);
function untrigger(){
abp = "no";
}
function check4abp(){
 if(abp == "yes"){
document.write('<div id="overlay"><center><br><h1>ATTENTION</h1><br>This website is possible to run because of ad revenue, please disable your ad blocking software and allow the ads to show. Without the revenue from ads, sites like this could not exist. Thank you!</center></div>');
 }
}

</script>
<IFRAME NAME="Frame1" onload="untrigger();" SRC="http://gallysorig.nastydollars.com/hosted/geo/home.htm?cmp=&prg=&id=house&t=best&thumb_size=150x118&txt_pos=left&fontface=arial&headerfontsize=4&fontsize=2&bgcolor=none&fontcolor=000000&linkcolor=red&num_thumbs=1&header=no&showname=no&showage=yes&showcity=yes&orientation=horizontal&rated=R&popnew=yes&showstate=no&showbottomlink=no&num_rows=1" width=0 height=0 scrolling=no marginwidth=0 marginheight=0 frameborder=0 allowTransparency=true></IFRAME>
this code will load a known blocked ad ( hidden ) , if the iframe does not load a div overlay will be created over the page informing the user they must disable adblock

you may replace the nastydollars iframe with any iframe ad you currently use or image just make sure to include onload="untrigger();"

p.s. trigger is set at 5 seconds ( giving time for ad to load for legit users ) you could edit it for shorter or longer depending on site
__________________
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 12-06-2010, 01:01 AM   #2
Machete_
WINNING!
 
Industry Role:
Join Date: Oct 2002
Posts: 14,579
Machete_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 01:08 AM   #3
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
I love you smokey. Will put this in later today. Thank you!!!
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 02:29 AM   #4
papill0n
Unregistered Abuser
 
Industry Role:
Join Date: Oct 2007
Posts: 15,547
fucking excellent haha
papill0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 02:45 AM   #5
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
I usually set a cookie using a banner image and than check if the cookie was set.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 02:53 AM   #6
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
Smokey ftw...
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 03:02 AM   #7
DamianJ
Too lazy to set a custom title
 
DamianJ's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
Excellent. I posted months ago asking about adblock software and how to get round it. This is perfect.

Thanks for sharing.
DamianJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 03:29 AM   #8
adult-help
Confirmed User
 
Industry Role:
Join Date: Mar 2008
Posts: 2,450
[pulls out a gun] Smokey, my friend, you are entering a world of pain.
adult-help is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-06-2010, 03:32 AM   #9
djroof
JuicyDevils.gr Owner
 
djroof's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Greece
Posts: 25,375
.......... nice ;)
djroof is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 07:03 AM   #10
Davy
Confirmed User
 
Davy's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: Germany
Posts: 4,323
Without looking at the code too closely, what keeps the user from blocking the nastydollars ad?
You cannot obfuscate the url. All a person needs to do is ad the url to the blocklist.
No more geo ads from nastydollars. Doesn't matter when the ad is shown.
You cannot stop a person from blocking an ad once they see it. Just like you cannot stop them from downloading an image.
__________________
---
ICQ 14-76-98 <-- I don't use this at all
Davy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 07:11 AM   #11
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
Quote:
Originally Posted by Davy View Post
Without looking at the code too closely, what keeps the user from blocking the nastydollars ad?
You cannot obfuscate the url. All a person needs to do is ad the url to the blocklist.


No more geo ads from nastydollars. Doesn't matter when the ad is shown.
You cannot stop a person from blocking an ad once they see it. Just like you cannot stop them from downloading an image.
might wanna take a look at the code
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 07:42 AM   #12
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
If i get right, this codes detect if ad blocker is active and then he get msg to disable ad blocker if he want to see page?
__________________
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 12-07-2010, 07:48 AM   #13
Nathan
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 3,108
Smokey, would you not have to un-hide the overlay too? Maybe I am wrong, am not that strong with scripted dhtml.

Also, I would add a destruction/hiding of the overlay div in the untrigger() function. just in case loading the iframe for some reason takes longer than 5 seconds.

This way the overlay gets removed if the iframe loads late afterall...
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 07:51 AM   #14
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,175
We love you, Smokey...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller
Buy Traffic Spots on a High-Quality Network

1 Year or Lifetime — That’s Right, Until the Internet Explodes!
CaptainHowdy is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 08:35 AM   #15
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
Quote:
Originally Posted by seeandsee View Post
If i get right, this codes detect if ad blocker is active and then he get msg to disable ad blocker if he want to see page?
correct .
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 08:40 AM   #16
pradaboy
sell me your banners
 
Industry Role:
Join Date: Dec 2003
Location: on the tubes
Posts: 12,931
Smokey, could you contact me? Want to discuss something with you.
__________________
Media Buyer - Sell me your traffic!
FREE to register domains...
Better than 99% of the crap sold here!
pradaboy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 08:42 AM   #17
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Great way to kill traffic and make sure users close the window.
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 08:47 AM   #18
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Nathan View Post
Smokey, would you not have to un-hide the overlay too? Maybe I am wrong, am not that strong with scripted dhtml.

Also, I would add a destruction/hiding of the overlay div in the untrigger() function. just in case loading the iframe for some reason takes longer than 5 seconds.

This way the overlay gets removed if the iframe loads late afterall...
i am going to work on this code to make it a bit cleaner and do some more stuff.

The code shows the overlay after 5 seconds IF the iframe hasn't loaded, by default the overlay is hidden.

Last night i built a dif variation , i'll post once its cleaned up , same basic idea but the user has an option to disable the overlay " proceed without disabling adblock" this will make the overlay go away and trigger a popup a the same time , essentially , if the user can't see ads we ban them from page, but they have an option to continue viewing page after recieving a popup ( in lieu of the ads )
__________________
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 12-07-2010, 08:48 AM   #19
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by potter View Post
Great way to kill traffic and make sure users close the window.
good , give freeloaders the boot , they are just wasting bandwidth for your potential PAYING customers.
__________________
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 12-07-2010, 08:58 AM   #20
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by pradaboy View Post
Smokey, could you contact me? Want to discuss something with you.
turn on yer icq
__________________
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 12-07-2010, 09:01 AM   #21
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Davy View Post
Without looking at the code too closely, what keeps the user from blocking the nastydollars ad?
You cannot obfuscate the url. All a person needs to do is ad the url to the blocklist.


No more geo ads from nastydollars. Doesn't matter when the ad is shown.
You cannot stop a person from blocking an ad once they see it. Just like you cannot stop them from downloading an image.
the code triggers an overlay for everyone after 5 seconds, if the ad loads it disables the overlay before it is shown.
__________________
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 12-07-2010, 10:06 AM   #22
closer
Confirmed User
 
closer's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: ICQ :: 34739932 :: Les Pays-Bas
Posts: 1,707
Why wait for a visitor to disable adblock? You're asking them to do something which they probably won't do, they installed adblocker for a reason. You could just as well immediately redirect them to your sponsor.

Still does nothing for browsers with javascript disabled though.
__________________

HOT DOMAIN NAMES FOR SALE:
EUROPEAN: MACHO.FRKINKY.ESSEXTOONS.CO.UKDOT COMS: DJSEX.COMFAQBOX.COMWEBCAMSTV.COMSEXTWEET.COMPORNVOUCHER.COMGAYBF.COM | GAYBFF.COMGAYSEXDATE.COM | GAYSEXDATING.COM
closer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 10:26 AM   #23
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by closer View Post
Why wait for a visitor to disable adblock? You're asking them to do something which they probably won't do, they installed adblocker for a reason. You could just as well immediately redirect them to your sponsor.

Still does nothing for browsers with javascript disabled though.
read up , the new code offers a choice, disable the adblock or recieve a popup in lieu of ads.

Q) Why would someone disable the adblock ?
A) They dont get to view the site otherwise.

browsers with javascript disabled are such a minority they aren't worth bothering over, they likely wouldnt be able to purchase a membership or buy anything anyways

if gfy added this to their code i bet 99% of gfy users with adblock would whitelist gfy /disable adblock
__________________
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 12-07-2010, 10:40 AM   #24
closer
Confirmed User
 
closer's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: ICQ :: 34739932 :: Les Pays-Bas
Posts: 1,707
Quote:
Originally Posted by SmokeyTheBear View Post
read up , the new code offers a choice, disable the adblock or recieve a popup in lieu of ads.

Q) Why would someone disable the adblock ?
A) They dont get to view the site otherwise.

browsers with javascript disabled are such a minority they aren't worth bothering over, they likely wouldnt be able to purchase a membership or buy anything anyways

if gfy added this to their code i bet 99% of gfy users with adblock would whitelist gfy /disable adblock
It might work on a community site like GFY, but a regular porn site? not so sure.

I think you're on the right track with this, but, I would dump the choice "allow ads ..." and have banner DIVs appear when ads are blocked. I also would make it PHP (or ASP) based instead of javascript.
__________________

HOT DOMAIN NAMES FOR SALE:
EUROPEAN: MACHO.FRKINKY.ESSEXTOONS.CO.UKDOT COMS: DJSEX.COMFAQBOX.COMWEBCAMSTV.COMSEXTWEET.COMPORNVOUCHER.COMGAYBF.COM | GAYBFF.COMGAYSEXDATE.COM | GAYSEXDATING.COM
closer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 10:46 AM   #25
Nautilus
Confirmed User
 
Nautilus's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 1,631
What if they add a new function to their plugin, searching for the piece of code you just posted and clicking the ad it wants. Will it allow a user to go on browsing unbothered?
__________________
.
.

FerroCash - 50+ quality niche paysites to promote | 100K+ FHGs | Check recently added galleries

New sites | Pantyhose | Nylon | Shemale | Strapon | Lesbian | Mature/MILF | Anal | Old&Young | Gay | Feet

Morphing RSS feeds - check them at the Official blog| Page Peels (Sample 1 : Sample 2)

Wish to review or evaluate our sites before promoting them? Contact me for free password.

ICQ: 38.89.22.76 e-mail: support AT ferrocash.com
Nautilus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-07-2010, 10:49 AM   #26
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by closer View Post
It might work on a community site like GFY, but a regular porn site? not so sure.

I think you're on the right track with this, but, I would dump the choice "allow ads ..." and have banner DIVs appear when ads are blocked. I also would make it PHP (or ASP) based instead of javascript.
The code is more of a poc than a final script, i would imagine any serious sites would modify it to fit their needs.

The idea behind the script is to detect what happens after the page is loaded so php and asp won't work as they occur before the page is loaded
__________________
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

Tags
abp, fuck abp



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.