javascript - How to call the console debug pannel in firefox addons -


java-script :

i call "ctrl + shift + j" open console what's method call window on firefox addon ?

i use "custom buttons" addon

thanks

here how open console pannel

var win = event.target.ownerdocument.defaultview; win.gdevtoolsbrowser.selecttoolcommand(win.gbrowser, "webconsole"); 

also possible

hudconsoleui.togglebrowserconsole(); 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -