/ Published in: JavaScript
Expand |
Embed | Plain Text
if (window.console && window.console.firebug) { console.log('firebug exists'); }
Comments
Subscribe to comments
You need to login to post a comment.
if (window.console && window.console.firebug) { console.log('firebug exists'); }
Subscribe to comments
You need to login to post a comment.
it doesn't work preview
I think it does. window.console would exist in different browsers that support it (like chrome, which has a console but not firebug) and window.console.firebug for specific firebug existence.
What do you use instead?
https://docs.google.com/leaf?id=0ByYbq1RM8pYTNTNlYjQwMTUtZTQ4Ny00ZDgyLThhOGUtZDVkZmZkYzhkODA3&sort=name&layout=list&num=50
It works!