diff options
Diffstat (limited to 'conkeror/.conkerorrc/firebug.js')
-rw-r--r-- | conkeror/.conkerorrc/firebug.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/conkeror/.conkerorrc/firebug.js b/conkeror/.conkerorrc/firebug.js new file mode 100644 index 0000000..a194c40 --- /dev/null +++ b/conkeror/.conkerorrc/firebug.js @@ -0,0 +1,12 @@ +define_variable("firebug_url", + "http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"); + +function firebug (I) { + var doc = I.buffer.document; + var script = doc.createElement('script'); + script.setAttribute('type', 'text/javascript'); + script.setAttribute('src', firebug_url); + script.setAttribute('onload', 'firebug.init();'); + doc.body.appendChild(script); +} +interactive("firebug", "open firebug lite", firebug); |