JavaScript entfernen

Peter Lohmann listenmann at elrond.lohmann-services.de
Thu Aug 9 19:47:03 CEST 2001


Hallo!

Ich habe einen Haufen HTML-Seiten, die folgende Zeilen enthalten:

  <script language="JavaScript">
  <!--
  if (!top.frames["head"]) {
  top.location.href="http://foo.bar/"+window.location.pathname
  }
  //--><!-->
  </script>

Ich möchte genau diese Zeilen automatisiert rauslöschen...
Wie mache ich das am elegantesten?

Grüße

Peter

-- 
Peter Lohmann	      email at peter-lohmann.de	      Tel.: 05207/920446
Did you hear why they use Windows 3000 as a prison guard? --- Because it
always locks up





More information about the Linux mailing list