Viewing Story

Angry Birds for Chrome already “hacked”, all levels unlocked

Posted by on 11/05/2011


The HTML5 based game Angry Birds has already been “hacked” just a few hours after being released. Web developer Web Bos said he quickly jumped onto the scene digging through the backend hardcode to find any loopholes. He soon came across a simple fix that allows users to unlock all levels in the game and giving each level a 3 star rating.

To unlock all levels, just paste the code below into your browser’s address bar, hit the Enter key and then load up the Angry Birds game. I also tried it while I was in the game and it refreshed, unlocking everything.

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

If you wish to revert to the old settings of unlocking levels per completing a previous level, just enter this in the browser address bar and hit enter to revert to the “non-cheat” mode.

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

Game data is stored in HTML5′s LocalStorage, meaning that a bit of tinkering under the hood can allow coders to easily hack the game. The problem may be solved in an updated version, but if they insist on using LocalStorage, someone will always find a way to break the level lock. If you want to skip the intro levels and get to the new secret levels offered only in the Chrome version, then why not give it a try.

By the way, this only works with compatible browsers such as Firefox 4, Chrome, IE9 or any other that supports HTML5.

  • tyler

    Tried this. Didn’t work for me

  • Bradley Wint

    I had that same problem the first few times, but got it to work after the 6th try. Not sure why but eventually got it. The pic above is one I took after unlocking it.

  • tyler

    Got it. I had to paste it into the address bar on the tab that Angry Birds was currently running on.

  • quin browne

    My problem is that every time I go to the game, it reloads from the beginning.  It’s more than a bit irritating. 

More in Computing, Featured, Policies/Ethics (19 of 70 articles)