From MegaZine3
Jump to: navigation, search
Plugin: Console
Name Console
  • console.swf

The console plugin provides a simple console, which allows easier tracking of errors, e.g. loading problems of page content (to check if there is warning, meaning the path is incorrect), but also for debugging.

The console can be opened by pressing the # key on the keyboard.



  • Type: String
  • Default: #

The hotkey with which to open the console. This is the character that gets compared to the KeyboardEvent.charCode of the keyboard event that gets fired when the user presses a key.


  • Type: Boolean
  • Default: false

When set to true, console output will be HTML formatted, making the output much more readable. This comes at the cost of performance, though.


This plugin handles no attributes.


<book plugins="console">
    <!-- ... -->

MegaZine3 Plugin-related articles
Plugins Anchors · Background Sounds · Batchpages · Bookmarks · Console · ElementIDs · Gallery · Google Analytics · Help · JavaScript · Keyboard Navigation · Links · NavigationBar · Options · Overlays · Password · PDFLinks · Print · PrintPDF · SWFAddress· Search · Sidebar · Slideshow · Titles
Plugin Articles Writing a plugin · Writing a plugin II · Plugin development