This Tiny Bit Of JavaScript Will Unlock All Levels Of Angry Birds Web App

Within hours of Angry Birds app for Chrome being announced, a developer posted a small bit of code that will unlock all levels on Chrome Web App or any browser.

To  get access to all levels in Chrome Angry Birds, just copy and paste the following line into your browser’s address bar.

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

Now, to set all levels to locked, simply copy and paste this into your address bar:

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

Read this blogpost to know how he did this !

In Category: Chromebook


Dinsan made Google Chrome his default browser within hours of its release. He fell in love with Chromebooks from the day he first touched one and is currently obsessed with Chromecasts.

Show 8 Comments
  • kurtextrem 13/05/2011, 2:32 pm

    Isn’t working for me…
    I’m a Javascript Developer, so I fixed the code
    javascript:var i = 0; while (i<=69) { localStorage.setItem('level_star_'+i+'3'); i++; } window.location.reload();

    But when I used this, an error came up and I had to clear my LocalStorage (All Highscores etc away)
    So I wouldn't use it!

    • Dinu 13/05/2011, 3:01 pm

      do you think its an error copying the code from the other blog ?

      • kurtextrem 13/05/2011, 4:12 pm

        Yes and no. False ‘ are from copying… and the other mistake is on the original blog too

        • Dinu 13/05/2011, 4:20 pm

          hmm ok 🙂 good to have some developer friends around 🙂

    • fajslmakr 26/05/2011, 5:14 pm

      Actually, you half fixed it and half broke it… the second “+” in ‘level_star_’+i+’3’ should be a “,” as in:

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

      • kurtextrem 26/05/2011, 6:13 pm

        Ah thx, i didn’t seet that… 🙂

  • James 13/05/2011, 9:00 pm

    Is this site featured on Angry Birds? I knew they would have Chrome-inspired levels, but is the writing shown on the game?

    • Dinu 13/05/2011, 9:04 pm

      oh, I was trying to add a watermark, but ended up with red letters !!
      sorry for the misunderstanding ..