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.

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

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 !

8 Comments

Add yours →

  1. 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!

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

    • 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();

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

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

Comments are closed.