Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    dga
    dga is offline
    New Coder
    Join Date
    May 2003
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Popup Killer Solution

    Here's a little code snippet solution for Popup Killer software:

    <script language="Javascript">
    <!-- begin

    function winopen(url){
    var Win = window.open(url,"popup","menu=no")
    if (Win == null)
    window.parent.location.href='disablepopupkiller.htm';
    }

    // end-->
    </script>


    <a href="javascript:winopen('popuppage.htm');">click</a>

    If the new window is "killed" because of the software, it loads a new page in the parent window ... or the last line of code can be replaced with a document.write('content here'); or show a hidden <div>. Any of these three can be used to tell the user to disable the software).

    It works on my computer with ie6 ... let me know how it works on yours (if you have popup killer software installed).

    dga

  • #2
    dga
    dga is offline
    New Coder
    Join Date
    May 2003
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not really a solution, but an alternative.

    I've gotten no feedback on the script, that leads me to conclude that:

    a) No one has popup killer software installed on their pc, or
    b) It does work as it should for those who do have popup killer software installed on their pc, or
    c) People are more inclined to comment on things that don't work.

    dga

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1. I bet that most of web developers on this forum do not use IE as their primary browser and therefore do not need any extra popup killing software.
    2. People are much more likely to check something out when you provide a link to a demo page so that they do not have to waste their time pasting your code into a test page.
    3. Those whose opinion worse anything, try to avoid popping up widows unless absolutely necessary (which is usually specialized applications, never a regular web site), therefore they do not really care about such code.

    Solution to popup killing software is not using popups
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    This is interesting...Please make a demo page...You can ask for testers here or in the General web design forum...Too bad all the abuse makes such code necessary.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Cincinnati, OH
    Posts
    545
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would like to see a demo of this page too. This is a useful script for those who do any kind of intranet work.
    does this sig match?


  •  

    Posting Permissions

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