Quelltext anzeigen

  • Quelltextanzeige ganz einfach:

    <script type="text/javascript"><!-- function Quelltext(){window.location='view-source:' + window.location} --></script><a href="JavaScript:Quelltext()">Quelltextanzeige</a> Einen anderen Quelltext anzeigen: <A href="JavaScript:source('testseite.htm')"> Testseite </a>


    Einen Quelltext in einem Frame Anzeigen: <a href="#" onClick= 'parent.Framename.window.location = "view-source:" + parent.Framename.window.location.href'> Quelltext </a> parent.Framename = Name der Frame-Fensters.