Computer Science Canada

blocking popups?

Author:  Paul [ Mon Apr 05, 2004 4:10 pm ]
Post subject:  blocking popups?

Is there anyway to put in any kind of code in your html, so that the page itself blocks popups?

Author:  EDEN-E [ Sun Apr 11, 2004 11:24 pm ]
Post subject: 

You can use javascript to block the popups.

However, it cannot be work on some sites.

Put following code in the head section.

code:
<SCRIPT LANGUAGE="javascript">
<!-- window.open=false // -->
</SCRIPT> 


this code cancels 'window.open' command.

Author:  Paul [ Mon Apr 12, 2004 3:47 pm ]
Post subject: 

ok thanx, it works kind of, it blocked 2 out of 3 pop ups. But I have a new host so they don't give pop ups


: