Apr 08 2008

Cross-Browser-”Firebug”

Veröffentlicht by . Filed under: JavaScript

[lang_de]Auf Google-Code gibt es eine JavaScript-Bibliothek namens PI-JS. Sie lässt sich einfach auf jeder beliebigen Seite einbinden:

<script type=”text/javascript” src=”http://pi-js.googlecode.com/files/debugger.js”></script>

Dabei erlaubt sie es, die Seite sowohl im CSS als auch im HTML genau zu analysieren. Ganz nach dem Vorbild Firebug. Nur das Editieren der Daten sowie das Debuggen von JavaScript geht noch nicht (was natürlich sehr hilfreiche Funktionen sind).

Man kann die Bibliothek ausprobieren, indem man nachfolgenden Code in die Adresszeile eingibt:

javascript:document.body.appendChild(document.createElement(“script”)).setAttribute(“src”,”http://pi-js.googlecode.com/files/debugger.js”);
javascript:pi.dbgr.init();

[/lang_de]

[lang_en]At Google-Code, there is a JavaScript library called PI-JS. It can be used in a very easy way by including a JavaScript file:

<script type=”text/javascript” src=”http://pi-js.googlecode.com/files/debugger.js”></script>

It allows to check CSS and HTML like firebug. The only missing parts are, that it is not possible to change the data or that it is not possible to debug JavaScript.

You can test the library with this code in your address bar:

javascript:document.body.appendChild(document.createElement(“script”)).setAttribute(“src”,”http://pi-js.googlecode.com/files/debugger.js”);
javascript:pi.dbgr.init();

No responses yet

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...
^

Trackback URI | Comments RSS

Hinterlasse eine Antwort