Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.
NVPublic archive

About

Crossbrowser Firebug console API. Improves Opera Dragonfly and IE developer tools.

Topics

Resources

Stars

75 stars

Watchers

1 watching

Forks

Latest commit

 

History

87 Commits

Folders and files

Repository files navigation

Opera error console, IE6 alert, Firebug, Webkit Web Inspector

Different browsers, same API.

Both Firebug and Web Inspector have console API support. Opera and IE 8–9 kind of have it. IE≤7 doesn't have it at all.

Console.js — crossbrowser Firebug console API

>>> console.log({x:3, y:5})
{x: 3, y: 5}
>>> console.dir({x:3, y:5})
{
  x: 3, 
  y: 5
}

>>> console.log(document.body)
<BODY class="timeline" id="home">
>>> console.dir(document.body)
HTMLBodyElement {
  aLink: "", 
  attributes: NamedNodeMap {
    0: Attr {?}
    ...
  }
}

Console.js benefits ❦ Comparison of consoles

About

Crossbrowser Firebug console API. Improves Opera Dragonfly and IE developer tools.

Topics

Resources

Stars

75 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages