Fuck firefox adblock ( CODE )

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SmokeyTheBear
    ►SouthOfHeaven
    • Jun 2004
    • 28609

    #1

    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
  • Machete_
    WINNING!
    • Oct 2002
    • 14579

    #2

    Comment

    • DWB
      Registered User
      • Jul 2003
      • 31779

      #3
      I love you smokey. Will put this in later today. Thank you!!!

      Comment

      • papill0n
        Unregistered Abuser
        • Oct 2007
        • 15547

        #4
        fucking excellent haha

        Comment

        • u-Bob
          there's no $$$ in porn
          • Jul 2005
          • 33063

          #5
          I usually set a cookie using a banner image and than check if the cookie was set.

          Comment

          • munki
            Do Fun Shit.
            • Dec 2004
            • 13393

            #6
            Smokey ftw...

            I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde

            Comment

            • DamianJ
              Too lazy to set a custom title
              • Jul 2006
              • 15808

              #7
              Excellent. I posted months ago asking about adblock software and how to get round it. This is perfect.

              Thanks for sharing.

              Comment

              • adult-help
                Confirmed User
                • Mar 2008
                • 2450

                #8
                [pulls out a gun] Smokey, my friend, you are entering a world of pain.
                Adult web templates, Adult WordPress Themes, TGP, MGP..
                also Complete Wordpress PaySite Development - Adult WordPress Blog Themes - Free FHG Templates - Free PaySite Script - Adult Tutorials Directory - Adult Domain Marketplace - Adult Jobs

                Comment

                • djroof
                  JuicyDevils.gr Owner
                  • Jan 2004
                  • 25505

                  #9
                  .......... nice ;)

                  Comment

                  • Davy
                    Confirmed User
                    • Apr 2006
                    • 4323

                    #10
                    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

                    Comment

                    • u-Bob
                      there's no $$$ in porn
                      • Jul 2005
                      • 33063

                      #11
                      Originally posted by Davy
                      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

                      Comment

                      • seeandsee
                        Check SIG!
                        • Mar 2006
                        • 50945

                        #12
                        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

                        Comment

                        • Nathan
                          Confirmed User
                          • Jul 2003
                          • 3108

                          #13
                          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

                          Comment

                          • CaptainHowdy
                            Too lazy to set a custom title
                            • Dec 2004
                            • 94732

                            #14
                            We love you, Smokey...

                            Comment

                            • u-Bob
                              there's no $$$ in porn
                              • Jul 2005
                              • 33063

                              #15
                              Originally posted by seeandsee
                              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 .

                              Comment

                              • pradaboy
                                sell me your banners
                                • Dec 2003
                                • 12931

                                #16
                                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!

                                Comment

                                • potter
                                  Confirmed User
                                  • Dec 2004
                                  • 6559

                                  #17
                                  Great way to kill traffic and make sure users close the window.

                                  Comment

                                  • SmokeyTheBear
                                    ►SouthOfHeaven
                                    • Jun 2004
                                    • 28609

                                    #18
                                    Originally posted by Nathan
                                    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

                                    Comment

                                    • SmokeyTheBear
                                      ►SouthOfHeaven
                                      • Jun 2004
                                      • 28609

                                      #19
                                      Originally posted by potter
                                      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

                                      Comment

                                      • SmokeyTheBear
                                        ►SouthOfHeaven
                                        • Jun 2004
                                        • 28609

                                        #20
                                        Originally posted by pradaboy
                                        Smokey, could you contact me? Want to discuss something with you.
                                        turn on yer icq
                                        hatisblack at yahoo.com

                                        Comment

                                        • SmokeyTheBear
                                          ►SouthOfHeaven
                                          • Jun 2004
                                          • 28609

                                          #21
                                          Originally posted by Davy
                                          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

                                          Comment

                                          • closer
                                            Confirmed User
                                            • Sep 2005
                                            • 1707

                                            #22
                                            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.

                                            Comment

                                            • SmokeyTheBear
                                              ►SouthOfHeaven
                                              • Jun 2004
                                              • 28609

                                              #23
                                              Originally posted by closer
                                              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

                                              Comment

                                              • closer
                                                Confirmed User
                                                • Sep 2005
                                                • 1707

                                                #24
                                                Originally posted by SmokeyTheBear
                                                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.

                                                Comment

                                                • Nautilus
                                                  Confirmed User
                                                  • Sep 2002
                                                  • 1631

                                                  #25
                                                  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

                                                  Comment

                                                  • SmokeyTheBear
                                                    ►SouthOfHeaven
                                                    • Jun 2004
                                                    • 28609

                                                    #26
                                                    Originally posted by closer
                                                    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

                                                    Comment

                                                    Working...