...

Disable popup killer Solution

dga
07-24-2003, 05:40 AM
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

dga
08-19-2003, 04:47 PM
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

Vladdy
08-19-2003, 05:15 PM
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 :thumbsup:

zoobie
08-21-2003, 09:22 AM
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.

allida77
08-22-2003, 03:02 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum