From: Redback <red...@ho...> - 2005-01-29 04:52:21
|
I ran across a site that has plenty of popup's , it a test site too see how well your blocker work , one popup is called layout and for the life of me I don't know where to begin to block the popup with a filter . here is the snippet I found , cab you help? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="description" content="Test your pop-up killer here. A step by step guide that will help you to choose the best popup killer!"> <meta name="keywords" content="popup,killer,stopper,test,choose,guide,benchmark,try,pop,up,popups, ups,windows,ad,killer,kill"> <title>Test your pop-up killer here.</title> <meta http-equiv="Content-Type"content="text/html; charset=iso-8859-1"> <link href="./../stylesheet/stylesheet.css" rel="stylesheet" type="text/css"> <link rel="icon" href="./../images/favicon.ico" type="image/ico"> <link rel="SHORTCUT ICON" href="./../images/favicon.ico"> </head> <body bgcolor="#082242"> <div align="center"> <table border="0" width="514" cellpadding="0" cellspacing="0" summary="used for layout in the pop-up blocker test"> <tr> <td><a href="./../index.html" title="Pop up blocker test - test your pop-up window stopper here"><img src="./../images/upper.gif" border="0" alt="PopUp Blocker Test - test your pop-up killer here"></a></td> </tr> <tr> <td> <table width="514" border="0" cellpadding="0" cellspacing="0" summary="used for layout in the pop-up killer test"> <tr> <td height="200" bgcolor="#082242" width="63"> </td> <td valign=top bgcolor="#4b566c" width="71"> <br> <br> <a href="./../index.html" title="PopUp Killer Test Home" class="MenuText">Home</a><br><br> <a href="./../choose/index.html" title="Choose your pop up window blocker here" class="MenuText">Choose</a><br><br> <a href="./../test/index.html" title="Test your pop-up blocker here" class="MenuText">Test</a><br><br> </td> <td bgcolor="#ffffff" width="369" valign=top> <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="used for layout in the popup ad stopper test"> <tr> <td width="5%"></td> <td height="200" valign=top> <br> <div class="Heading"><strong>PopUp killer test 12/27</strong></div><br> <div class="Text"> <script language="JavaScript" type="text/javascript"> function findObj(name, doc) { //Try to index directly in the document var x = doc[name]; if (x) return x; //Try to index document.all; if (doc.all) { x=doc.all[name]; } if (x) return x; //Look for the name in the layers' documents. for(var i=0; doc.layers && i < doc.layers.length; i++) { x=MM_findObj(name, doc.layers[i].document); } if (x) return x; //Last resort, get the object by its name. if (doc.getElementById) { x=doc.getElementById(name); } return x; } function showHideLayers(name, hideOrShow) { var obj = findObj(name, document); if (obj.style) { obj=obj.style; v = (hideOrShow=='show') ? 'visible' : (hideOrShow=='hide') ? 'hidden' : hideOrShow; } obj.visibility = v; } </script> This test opens a layered pop-up window. It is actually not a real pop-up windows, but it looks the same and is just as annoying. I do not know if there are any pop-up killers that can handle this type of pop-up. You will not see the pop-up if you are using a web browser that does not support layers. <br><br> <DIV STYLE="position: absolute; top: 30; left:30; width:486; height:384; z-index: 4" id="popupdiv"> <img src="./popup.gif" usemap="#popupmap" name="popupimage" alt="A bad pop up" border="0"> <map name="popupmap"> <area href="" alt="" shape="rect" coords="452,7,480,32" onclick="showHideLayers('popupdiv','hide');popupdiv.style.display='none';" onmouseover="popupimage.style.cursor='hand';" onmouseout="popupimage.style.cursor='auto';"> </map> </DIV> <!--http://www.experts-exchange.com/Web/Web_Languages/CSS/Q_20808797.html--> <!--onclick="alert('hej');if (popupdiv.style == null) {alert('popupdiv.style == null');popupdiv.visibility='hidden';} else {alert('popupdiv.style != null');popupdiv.style.visibility='hidden';};"--> <!--MM_showHideLayers('popupdiv','','hide');--> <div align="right"><a href="./test13.html">Next test »</a></div> <br> <div class="Heading"><strong>Optional poll</strong></div> <!--FREEPOLLKIT.COM POLL CODE BEGIN--> <div style="width:320px"><form style="margin:0;" action="http://freepollkit.com/index.php" method="post"> <div style="border:1px dashed black;background:#eee;padding:10px;"> <span style="font-weight:bold;">Did your popup window killer pass Test 12?</span><br /> <label for="c0"> <input id="c0" name="choice" value="0" type="radio" /> Yes, it passed</label><br /> <label for="c1"> <input id="c1" name="choice" value="1" type="radio" /> No, it did not pass</label><br /> <input type="hidden" name="vote" value="0.9b" /> <input type="hidden" name="pollid" value="1000191" /> <div style="text-align:center;"><input type="submit" value="Vote" /> <a style="font-size:xx-small;" href="http://freepollkit.com/index.php?browse=viewresult&pollid=1000191" title="View the results of this poll">View results</a></div> </div> </form> <div style="text-align:right;font-size:xx-small;"><a href="http://freepollkit.com" title="Free Online Polls - Free Web Surveys - FreePollKit.com">FreePollKit.com</a></div> </div> <!--FREEPOLLKIT.COM POLL CODE END--> <br> <div class="Heading"><strong>All tests</strong></div> <a href="./test1.html">1</a> <a href="./test2.html">2</a> <a href="./test3.html">3</a> <a href="./test4.html">4</a> <a href="./test5.html">5</a> <a href="./test6.html">6</a> <a href="./test7.html">7</a> <a href="./test8.html">8</a> <a href="./test9.html">9</a> <a href="./test10.html">10</a> <b><a href="./test11.html">11</a>*</b> <b><a href="./test12.html">12</a>*</b> <b><a href="./test13.html">13</a>*</b> <a href="./test14.html">14</a> <a href="./test15.html">15</a> <b><a href="./test16.html">16</a>*</b> <b><a href="./test17.html">17</a>*</b> <a href="./test18.html">18</a> <a href="./test19.html">19</a> <a href="./test20.html">20</a> <b><a href="./test21.html">21</a>*</b> <b><a href="./test22.html">22</a>*</b> <a href="./test23.html">23</a> <a href="./test24.html">24</a> <b><a href="./test25.html">25</a>*</b> <b><a href="./test26.html">26</a>*</b> <b><a href="./test27.html">27</a>*</b> <br><br> <small>* is a difficult test, where may pop-up killers and web browsers fail.</small> </div> <br> </td> <td width="5%"></td> </tr> </table> </td> <td bgcolor="#082242" width="11"> </td> </tr> </table> </td> </tr> <tr> <td><img src="./../images/lower.gif" border="0" alt="lower logo"></td> </tr> </table> <br> <center> <table cellpadding="0" cellspacing="0" border="0" summary="used for layout in the pop-up blocker test"> <tr> <td width="50"></td> <td bgcolor="#ffffff"><a href="http://www.kephyr.com/spywarescanner/index.html?source=bottombanner" title="Bazooka Adware and Spyware Scanner"><img src="./../../spywarescanner/banner1.gif" alt="Bazooka Adware and Spyware Scanner Freeware" border="0" height="60" width="468"></a></td> </tr> <tr><td width="50"></td> <td> <center><br> <script type="text/javascript"><!-- google_ad_client = "pub-1741679254688886"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_url = "008000"; google_color_text = "000000"; google_ad_channel ="2859852615"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> </td> </tr> </table> </center> </div> </body> </html> |