Dyhzy / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

detect Firebug (not Lite) #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Firebug Lite doesn't work if Firebug (the add-on) is running. Can we detect
this and tell the user to right-click and use "Inspect Element" instead?

Original issue reported on code.google.com by stevesou...@gmail.com on 3 Sep 2009 at 4:23

GoogleCodeExporter commented 9 years ago
Steve, we can just check for _firebug existence
if (typeof _firebug==='undefined') {
run(firebug.lite);
} else {
show.notice();
}

Original comment by sunny.dr...@gmail.com on 7 Sep 2009 at 5:04

GoogleCodeExporter commented 9 years ago
That worked! Thanks.

Original comment by stevesou...@gmail.com on 8 Sep 2009 at 5:57