Guest User

Untitled

a guest
Mar 17th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. /* hasFirebug.js - detects the activation status of firebug
  2. * @author Livingston Samuel
  3. */
  4.  
  5. var hasFirebug = (function () {
  6. return !!(document.getElementById("_firebugConsole"))
  7. }());
  8.  
  9. /*
  10. hasFirebug => false, if Firebug is not installed or not activated for the current page
  11. hasFirebug => true, if Firebug is enabled on the current page
  12. */
Add Comment
Please, Sign In to add comment