Chrome 12 was released last week. You didn’t notice? Few people did. I hadn’t intended writing this article but a few people on Twitter convinced me otherwise (thanks @Mahen23). To start, let’s take a look at the usual list of improvements:
- hardware-accelerated 3D CSS
- the ability to analyze and delete Flash cookies within Chrome
- a new safe browsing feature which protects against malicious file downloads
- improved synchronization of browser settings
- better screen reader support
- new PDF save and print buttons
- launch installed apps from the Omni-bar
- 14 security holes plugged.
- Files, sizes and download times are reduced.
- Code processing speed can be improved.
- It hides your cutting-edge scripts from prying eyes.
Unfortunately, a minified script is impossible to debug. The code is an indecipherable mess contained on few lines which cannot have breakpoints set. Here’s an example from Google Analytics:
Nasty. However, a quick right-click option will de-obfuscate the script into lovely readable source code:
Built-in de-obfuscation is incredibly useful, although there are a couple of hitches:
- Setting breakpoints on de-obfuscated code is more limited. Functions run in response to an event or timer can be analyzed. However, it’s not possible to break at code run when the page is loaded since the script has not been de-obfuscated at that point. Let’s hope the Chrome team address the issue in a future version.
For me, this is the most exciting development in Chrome. It may tempt you away from Firebug or Dragonfly when testing live code.
Have you discovered any great new features in Chrome 12?