Well, that did not take long at all. The Chrome version of Angry Birds has only been live for a few hours and it’s already been hacked to give players access to all of the levels. Web developer Wes Bos saw the potential to make a slight change to the web cache and had a working hack in a short time.

Bos says that he was able to quickly find a hack that gave him access to all of the levels in the game, even the special Chrome levels.

I was quickly able to find a hack that gave me access to all the levels, even the special Chrome levels!  So to  get access to all levels in Chrome Angry Birds, just copy and paste the following line into your browser’s address bar.

Screen shot 2011 05 11 at 3 1.08.52 PM Angry Birds for Chrome already hacked, unlocking all levels

Here’s the code that Bos provided to unlock all of the levels, just copy and paste this into your address bar in Chrome and fire up Angry Birds.

javascript: var i = 0; while (i<=69) { localStorage.setItem('level_star_'+i,'3'); i++; } window.location.reload();

If you want to switch the game back to all levels locked, use this code in the address bar.

javascript: var i = 0; while (i<=69) { localStorage.setItem('level_star_'+i,'-1'); i++; } window.location.reload();

Bos goes on to explain that the key to the hack is that Rovio mentioned that it was using HTML5′s LocalStorage to cache game files.

If you open up Web Inspector in Chrome, you’ll see they are keeping track of your score and stars with localstorage. Lucky for us, that means we can use setItem() set all 70 levels to 3 and get access to them all.

So if you don’t want to play through all of the boring early levels, try out Bos’ hack and let us know how it works.