home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Fravia / fravia / gtbankil.txt < prev    next >
Encoding:
Text File  |  2000-05-25  |  4.3 KB  |  176 lines

  1.        GREYTHORNE'S JAVASCRIPT BANNER KILLER
  2.  
  3. This copy courtesy of fravia's pages of reverse engineering
  4.             17 July 1998
  5.  
  6.  
  7. Note: this proggy uses popup windows to capture popup windows
  8. (kind of like fighting fire with fire) if your browser doesnt
  9. display popup windows, then why are you trying to run this?
  10. you are ALREADY immune to the silly banner popups!
  11.  
  12. This one is pre-programmed to kill the prohosting.com banners, the tripod.com
  13. banners, and the geocities.com banners.
  14.  
  15. It makes use of hidden frames in a remote control which can either be minimized
  16. while you browse or left open and used as a remote control with your favorite
  17. sites at button access to your fingertips. Please have fun with this! (I really
  18. do use this thing on my home pc in case you are wondering)
  19.  
  20. To make this work, just point your browser at the home.htm as your start page
  21. and make any setting changes you desire in the 6 html pages below (all must be
  22. in the same directory to work properly)
  23.  
  24. For fastest results, just change the address in GO.HTM to point where you
  25. usually like to have your browser start (worry about anything else later)
  26.  
  27. +Gthorne'98
  28.  
  29. ****************
  30. *** HOME.HTM ***
  31. ****************
  32.  
  33. THIS IS THE FRAME SOURCE, YOU SET YOUR STARTUP PAGE HERE (C:\GTBK\HOME.HTM for example)
  34.  
  35. ---
  36.  
  37. <html>
  38.  
  39. <head><title>Greythorne's Banner Killer</title></head>
  40.  
  41. <frameset cols=100%,* border=0>
  42.    <frame name="visible" src="go.htm" noresize>
  43.    <frame name="hidden" src="popup.htm" noresize>
  44. </frameset>
  45.  
  46. </html>
  47.  
  48. *************
  49. *** GO.HTM***
  50. *************
  51.  
  52. THIS OPENS YOUR NORMAL START PAGE
  53.  
  54. ---
  55.  
  56. <html><body bkgrond="black">
  57. <font face="arial" color="blue" size="+2"><I>
  58. Loading Start Page...</I></font>
  59.  
  60. <script language="JavaScript">
  61. <!--
  62.  
  63. // SET WHERE YOU WANT YOUR BROWSER TO START
  64.  
  65. setTimeout("window.open('http://home.netscape.com/','_top')",1);
  66.  
  67. // --></script>
  68. </body></html>
  69.  
  70. *****************
  71. *** POPUP.HTM ***
  72. *****************
  73.  
  74. INTERNAL HIDDEN FRAME, CREATES THE WINDOW FOR YOUR BANNER KILLER
  75.  
  76. ---
  77.  
  78. <html>
  79.  
  80. <head><title>Popup Window Generator</title></head>
  81.  
  82. <body>
  83.  
  84. <BR>
  85. <script language="JavaScript">
  86. <!--
  87.  
  88. var newWindow = window.open('remote.htm','Remote','width=340,height=55,scrolling=no');
  89. newWindow.document.close();
  90.  
  91. //-->
  92. </script>
  93.  
  94. </body>
  95. </html>
  96.  
  97. ******************
  98. *** REMOTE.HTM ***
  99. ******************
  100.  
  101. THIS PAGE DOES THE CATCHING
  102.  
  103. IT CREATES HIDDEN FRAMES NAMED THE SAME AS THE POPUP BANNERS SO ALL
  104. BANNERS GET SENT HERE TO A HIDDEN FRAME INSTEAD OF A NEW WINDOW
  105.  
  106. ---
  107.  
  108. <html><head><title>Remote</title></head>
  109.  
  110. <frameset cols=100%,*,*,*,* border=0>
  111.  
  112. <frame name="controls" src="controls.htm" noresize>  /* remote control */
  113.  
  114. <frame src="trashcan.htm" noresize name="TripodPopup">    /* tripod.com */
  115. <frame src="trashcan.htm" noresize name="w3adYRJAQBAI">   /* geocities.com */
  116. <frame src="trashcan.htm" noresize name="Banner">         /* prohosting.com */
  117. <frame src="trashcan.htm" noresize name="Ad">             /* angelfire.com */
  118.  
  119. </frameset>
  120. </html>
  121.  
  122. ********************
  123. *** CONTROLS.HTM ***
  124. ********************
  125.  
  126. THIS IS THE REMOTE CONTROL THAT GETS DISPLAYED
  127.  
  128. THE HIDDEN FRAMES ARE BEHIND THIS ONE
  129. EITHER MINIMIZE THIS OR LEAVE IT OPEN AND ADD YOUR OWN
  130. BUTTONS AS YOU LIKE WITH YOUR FAVORITE LINKS IN THEM
  131.  
  132. ---
  133.  
  134. <html>
  135.  
  136. <head><title>Remote Control Banner Killer</title></head>
  137.  
  138. <body bgcolor="black">
  139.  
  140. <center><FORM>
  141.  
  142. <table height="50" width="320" cellpadding=0 cellspacing=0 border=0>
  143. <TR><TD align="center" valign="middle">
  144.  
  145. <INPUT TYPE=BUTTON VALUE="Greythorne" onClick="window.open('http://greythorne.home.ml.org/','Greythorne','width=700,height=400,toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes');">
  146.  
  147. <INPUT TYPE=BUTTON VALUE="Fravia" onClick="window.open('http://fravia.org/','Fravia','width=700,height=400,toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes')">
  148.  
  149. <INPUT TYPE=BUTTON VALUE="Anon Mail" onClick="window.open('https://www.anonymizer.com/email/remailer-power.cgi?to=','AnonMail','width=700,height=400,toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes')">
  150.  
  151. </TD></TR></TABLE>
  152.  
  153. </FORM>
  154. </center>
  155. </body>
  156. </html>
  157.  
  158. ********************
  159. *** TRASHCAN.HTM ***
  160. ********************
  161.  
  162. THIS IS A DEFAULT JUNK HTML PAGE
  163.  
  164. IF IT IS NOT INCLUDED, THE BROWSERS WILL COMPLAIN SINCE THEY ATTEMPT TO PUT
  165. SOMETHING IN THE HIDDEN FRAMES WHEN THEY ARE CREATED - MIGHT AS WELL BE TINY
  166.  
  167. ---
  168.  
  169. <html>     
  170. <body>
  171.  
  172. Trashcan Frame
  173.  
  174. </body>
  175. </html>
  176.