Thứ Hai, 26 tháng 12, 2011

Angry Birds Cheats and Tips: Quick hack unlocks all 70 Chrome levels

The purists out there beat every Angry Birds level on the Chrome version a few hours ago, as the game released yesterday with fanfare at Googles' I/O Conference. But for those who actually have other things to do, like yourselves, Wes Bos, a notable tech entrepreneur and founder of DealPage, has found a neat trick to unlock all the levels in the game. And all it takes is a single line of code.

First of all, the game requires you to have Google's Chrome browser. Download and install that, and come back here. (Done? Good.) Now, go to the Chrome Web Store and download Angry Birds. With the game loaded, copy and paste this code into Chrome's address bar:

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

Hit the Enter key, and watch as all 70 levels in the game are open for you to fling around in. Now, if you ever want to revert the game to its original state, just use this line of code in the same way:

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

Now, if you're interested, here's how the whiz figured it out: "In the talk Rovio did at Google IO, they mentioned they were using HTML5′s LocalStorage. If you open up Web Inspector in chrome, you'll see they are keeping track of your score and stars with localstorage. Lucky for us, that means we can use setItem() set all 70 levels to 3 and get access to them all." This smarty pants just made plenty of Angry Birds (and Google) fans very, very happy.

Không có nhận xét nào:

Đăng nhận xét