Angry Birds Hack for Chrome Browser

Hello,

A few days ago Angry Birds launched their browser game, first released for Chrome — originally it was only on iOS and Android.

They did a fantastic job — it plays just like the mobile version, and they used HTML5 and CSS3 extensively.

I was playing and trying to three-star every level, but no luck. 😛

Someone found a hack taking advantage of unencrypted local storage values. A Toronto-based web developer shared his findings — it’s a one-liner you can paste into Chrome’s address bar while the game is open.

Here’s the line to unlock every level with three stars:

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

Handy if you don’t want to replay levels from the mobile version, or just like to cheat. But if you get tired of cheating, paste this to lock all the levels again:

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