![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
![]() 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> 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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
WINNING!
Industry Role:
Join Date: Oct 2002
Posts: 14,579
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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!!!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Unregistered Abuser
Industry Role:
Join Date: Oct 2007
Posts: 15,547
|
fucking excellent haha
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
there's no $$$ in porn
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Do Fun Shit.
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
JuicyDevils.gr Owner
Industry Role:
Join Date: Jan 2004
Location: Greece
Posts: 25,375
|
.......... nice ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
good , give freeloaders the boot , they are just wasting bandwidth for your potential PAYING customers.
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
turn on yer icq
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
__________________
hatisblack at yahoo.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Industry Role:
Join Date: Sep 2005
Location: ICQ :: 34739932 :: Les Pays-Bas
Posts: 1,707
|
Quote:
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. ![]()
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |