Install this theme
jacob:

I wish Safari had the option to add a “cancel” button to Javascript alerts when in development mode. I don’t know how many time’s I’ve gotten caught in an infinite huge loop and had to sit there with my finger on enter.

Why not just use console.log(whatever); ?I never alert anything anymore. The console is SO powerful — especially if you’re using the WebKit nightly builds! I don’t even use Firebug anymore unless I absolutely have to for some reason.But I do agree… the lack of control over those elements is lame.

jacob:

I wish Safari had the option to add a “cancel” button to Javascript alerts when in development mode. I don’t know how many time’s I’ve gotten caught in an infinite huge loop and had to sit there with my finger on enter.

Why not just use console.log(whatever); ?

I never alert anything anymore. The console is SO powerful — especially if you’re using the WebKit nightly builds! I don’t even use Firebug anymore unless I absolutely have to for some reason.

But I do agree… the lack of control over those elements is lame.

 
  1. nonowarn reblogged this from jacob and added:
    How about this bookmarklet: javascript:alert=function(m){if(prompt(m)===null) throw 0} Update: Above bookmarklet can’t...
  2. bendelaney reblogged this from jacob and added:
    Why not just use console.log(whatever); ?I never alert anything anymore. The console is SO powerful — especially if...
  3. jacob posted this