Home > JavaScript > Skanowanie stron www

Skanowanie stron www

Dodane przez: piciu
opis:
Skanowanie w poszukiwaniu wirusów na stronach www
Kod:
  1. <script language="JavaScript">
  2. function resultURL()
  3. {
  4. var left = (screen.width - 640)/2
  5. var top = (screen.height - 400)/2
  6. window.open( "", "scan", "width=640"+
  7. ",height=400,left="+left+
  8. ",top="+top+",scrollbars=no,resizable=yes")
  9. document.getElementById( "drwebscanformURL" ).target = "scan";
  10. return true;
  11. }
  12. </script>
  13.  
  14. <form id="drwebscanformURL" action="http://online.us.drweb.com/result/" onSubmit="return resultURL()" method="post">
  15. <div style="width: 494px; height: 65px; background: url(fon.gif)">
  16. <div style="padding: 30px 0 0 137px;">
  17. <div style="float: left;"><input type="text" name="url" value="http://" class="find" style="width:200px; border: #9ac461 2px solid;"></div>
  18. <div style="float: left; padding: 1px 0 0 5px"><input type="image" src="button.gif" width="121" height="21"></div>
  19. </div>
  20. </div>
  21. </form>
  22.  
  23.  

©