Enter Inspect mode automatically

26 views
Skip to first unread message

dido

unread,
May 16, 2012, 2:06:37 AM5/16/12
to Firebug
I need to enter Inspect mode automatically. When a radio button is set
to choose an option for example and the next step is to Inspect the
page. It's good to prevent the user from making other things on the
GUI part and to enforce him to use Inspect mode. It is also kind of
annoying to do unnecessary clicks.
Is it possible ?

Thanks,
Dido

Sebo

unread,
May 16, 2012, 4:08:37 AM5/16/12
to fir...@googlegroups.com
If you're using AMD in your extension, you should be able to do this by adding "firebug/html/inspector" to the dependencies and calling Inspector.startInspecting(this.context).
If your extension doesn't support AMD, then you can access that function via Firebug.Inspector.startInspecting(this.context).

Sebastian

Deqn Stoqnov

unread,
May 16, 2012, 6:25:08 AM5/16/12
to fir...@googlegroups.com
Works ! Thanks a lot.
> --
> You received this message because you are subscribed to the Google
> Groups "Firebug" group.
> To post to this group, send email to fir...@googlegroups.com
> To unsubscribe from this group, send email to
> firebug+u...@googlegroups.com
> For more options, visit this group at
> https://groups.google.com/forum/#!forum/firebug
Reply all
Reply to author
Forward
0 new messages