I like its simplicity.<p>But, I thought this was dead:<p><pre><code> onClick="javascript:smoke.alert('this is a normal alert');"
</code></pre>
... apparently, not.<p>The 'javascript:' (attempted psuedo protocol), is just acting as a pointless label here.<p>I also thought we said goodbye to obtrusive JS altogether.<p>Also, the API isn't great. There's no instance to work with... It doesn't work in IE7 (probably because it doesn't cater for non-W3C events APIs). The source is littered with getElementById calls, and non configurable HTML IDs and classes. And it uses the window's 'load' event to initiate itself, when there's absolutely no need to. There's also 'smoketimeout' polluting the global scope when it could just be a property of the 'smoke' object itself.