You have heard the news already. Angry Birds are not restricted to the mobile devices, and now have entered the computers, laptops with their web based version, running and destroying the pigs in the Google Chrome browser. You can play it online, and you can download it too to your hard drive, and play the game offline. But yes, no one is that genuine in playing it. Some would want to go past through levels if they fail at winning that level genuinely. And for those, there is always some solution.
Now you can unlock any level in the Angry Birds game, using a simple Javascript code. To unlock the levels, just open the Game and while playing any level, paste this Javascript code into the address bar and see the magic happen. You won't need to hit your brain hard to work it on killing the pigs.
javascript: var i = 0; while (i< =69) { localStorage.setItem('level_star_'+i,'3'); i++; } window.location.reload();
Screenshot: Unlock Angry Birds Level With JavaScript Code
This trick is helpful for those playing the game online in Google Chrome. There is even a javascript code which you can use to lock the levels again, if you want to try to go past through that level using your own skills.javascript: var i = 1; while (i< =69) { localStorage.setItem('level_star_'+i,'-1'); i++; } window.location.reload();
This is a HTML5 hack that a developer did based on the statement Google had given that the game uses the HTML5’s LocalStorage for all the levels. So, all the stars and the scores were stored in the local storage, which could be manipulated with the stages which you even didn’t try to play yet.
The game and this trick both work with not just the Google Chrome browser but even with the Firefox browser, but people have reported that there are problems with the code working in Safari where the browser crashed. But as the developers say, it was to be tried only in the Chrome browser where the game reloads with the levels unlocked.
Posted by Andrew.
Unlock Angry Birds Level With JavaScript Code