BSOD

BSOD brings the power of Blue Screen of Death to web browsers in 2009.

Introduction

The script BSOD.js provides an easy-to-use class to boost the error reporting user experience of your websites.

To fully understand the characteristics of this technique please refer to the Wikipedia article cited above.

How to use

The basic way to use this script is as follows:

// call window.bsod() like you would call alert.
window.bsod();

The function can take these options:

  • onClose – (event, optional) triggered when the BSOD is closed.
  • html – (string, optional) the message itself, which defaults to the Win95 message.
  • title – (string, optional) the title text, which defaults to the OS name.

Demo

The explanation page includes demos.

Note

In case you didn’t get it, this is not intended for real use =) It’s just a joke!