Results 1 to 11 of 11

Thread: Stop Pop Up Blockers

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635

    Big Grin Stop Pop Up Blockers

    Been doing some tinkering on Google and happened by this nifty peice of code which claims to stop several of the most popular pop-up blockers including the Google one..

    PHP Code:
    <script language="JavaScript">
    <!--
    var exit=
    0;

    function 
    stopError() {
        return 
    true;
        }
    window.onerror stopError;

    //var exit=0;
    function blocker() {
        if(exit == 
    0) {
        
    window.open("http://www.domain.com/console.html","exitr","toolbar=no,scrollbars=no,menubar=no,location=no,width=200,height=200"); }
    }
    // -->

    <!--NoConsoleOnMembers
    document
    .domain document.domain.substring(document.domain.indexOf('.')+1);
    // -->

    </script>
    <body OnUnload="blocker();"> 
    I beleive someone was asking about a code to stop popup blockers recenty (Fister maybe?) so figured i would share this :groovy:

    Let me know how it works out for you

    Regards,

    Lee


  2. #2
    Chris Alan
    Guest
    Here is the orignal thread that I started: http://forums.gaywidewebmasters.com/...ghlight=pop+up

    I know others were very interested on getting their hands on something to stop these blockers.

    Thanks Lee


  3. #3
    virgin by request ;) Chilihost's Avatar
    Join Date
    Oct 2003
    Posts
    4,496
    nope, this code does not work with the google toolbar popup blocker

    cheers,
    Luke


  4. #4
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Luke..

    It does work but you actually do have to close the browser window instead of just refreshing it

    Regards,

    Lee


  5. #5
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Actually.. it appears i missed a line out of the original coding i used.. edited the original post.. it should now work properly.. apologies.

    Regards,

    Lee


  6. #6
    $5 Submissions
    Guest
    Is it a hot idea to defeat a popup blocker because someone clearly does not intend to see pop ups? Just asking. :army:


  7. #7
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Originally posted by $5 Submissions
    Is it a hot idea to defeat a popup blocker because someone clearly does not intend to see pop ups? Just asking. :army:
    You know i found myself asking that earlier but only because i forgot to turn back off the toolbar popup blocker..

    There are certain sites where popups are required... for example this one.. the Google Toolbar will stop you receiving notification of PM's through the mall conole that pops up.. just one example that comes to mind anyway.

    I just dont see why a surfer shouldnt have a choice in whether they want to, or not, see consoles.. consoles apart from being used for marketing reasons, in mainstream, play an integal part of some websites navgation system.

    Regards,

    Lee


  8. #8
    rick
    Guest
    This site requires popups?

    I have a blocker on -- what am I missing?


  9. #9
    virgin by request ;) Chilihost's Avatar
    Join Date
    Oct 2003
    Posts
    4,496
    Awesome, it works like a charm! Now I have to go edit about 50 sites

    thanks, Lee!

    cheers,
    Luke


  10. #10
    I am more woman than you will ever have, and more man than you will ever be Fister's Avatar
    Join Date
    Jan 2004
    Location
    Puerto Vallarta, Mexico
    Posts
    595
    Thanks! This is far simpler scripting than anything I was able to find in Google searches.

    Whether or not to defeat a popup blocker is a business/marketing decision. How many sales do you make with the unblocked popup? How many sales do you lose from potential return visitors who decide not to return because you defeated the popup blocker?
    Regards, Dean
    Submit your gay porn sites to Latin Men Links
    Porn Guys Tube


  11. #11
    virgin by request ;) Chilihost's Avatar
    Join Date
    Oct 2003
    Posts
    4,496
    I was thinking about this myself....hopefully I will be able to report some stats in a few weeks time.

    cheers!
    Luke


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •