it’s tricky to rock a style thats liked online

Disabling Firefox keyboard shortcuts with JavaScript

First off, let me just say I feel really stupid for posting this. It seems like I stumbled onto something for the first time that should be common knowledge for a JavaScript developer.  However, I am still making the post because I find this to be rather strange.  Using the event ‘preventDefault’ method, you can completely disable Firefox’s built in keyboard shortcuts.  If you click on the following js bookmarklet:

ruin my browser!

You won’t be able to pop firebug up with f12, ctrl+t yourself a new tab, get yourself a fresh version of the page with f5, and you won’t even be able to view the source. When I ran into this for the first time, I thought my computer was fucked up.

Apparently, this is also just Firefox. I just tested it in IE and Chrome, and it appears to do nothing. Is this a XUL thing?

Does anyone else find this to be strange or annoying? Is this surprising or am I stupid? It just seems like this shouldn’t happen.

Google chrome: a first impressions review.

I like it a lot.

Keeping it non-technical, because someone else will rant about that stuff in more detail than I am willing to or can.

Stuff I am liking:

  • Very fast
  • It is very roomy feeling, not much “chrome” as it were.
  • I don’t have to relearn shortcuts, they are almost all FFish
  • I can open JavaScript bookmarklets in new tabs (this was not the case for FF as of version 3)
  • Searching is awesome, with a bit of setup, its very few keystrokes, like: “w jelly” to search wikipedia for jelly
  • View source pops up in a tab
  • The animations are cute and informative without being annoying
  • the launch page is handy (although Opera has had this for some time)
  • Built in “appability” (make one tab appear as an application window, for something like google docs)
  • Built in tab restore (I constantly close a tab and then realize I want it back)
  • Built in and fairly complete dom inspector, console, and JS debugger
  • The process manager is awesome.  Even when stuff gets out of hand, you can assumably fix it without losing your whole session
  • The find dialogue is great, however it will take a moment or two to adjust to top-right vs bottom-left

Lets get critical*:

  • The inspector, while nice, doesn’t allow me to change stuff on the fly like firebug does
  • There appear to be some JS animation / transparent png issues
  • I can’t do much in the way of scrolling
  • I don’t think the form elements displayed are as attractive as Firefox’s (on Vista)
  • As far as I have seen, there does not appear to be a way for me to view and interact with ajax requests
At least for now, it will be my default browser, however I will still be using Firefox for development purposes. I want chrome to succeed, and to do this it will need to be embraced by and passionately work with the open source crowd.  So far they appear to be off to a cracking good start.  I will follow up with more later when I have used it extensively.

* please note that I am not an experienced webkit-based browser user.