Skip to main content

Chrome Angry Birds already hacked, play all levels

Angry Birds web You’ve probably read that Peter Vesterbacka announced Angry Birds is now playable for free on the web. Though the chrome version was released earlier today, someone has already put out a code to unlock all the levels, even the special Chrome ones.

Wes Bos, a web developer who specializes in HTML5 and Javascript, began to investigate the code for the game as soon as it was released for Chrome. He found a hack taking advantage of unencrypted local storage values. The Toronto based web developer then shared his findings on his site; it’s a  line which you can copy and paste into your Chrome browser’s address bar when you have the web game up.

Here’s the line to access every level:

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

This is a useful code for those of you that don’t want to replay levels from the mobile versions, or just like to cheat. However, if you’re tired of being a cheater, you can copy and paste the following line to lock all the levels again:

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

The line works whether you’re playing in Chrome, Firefox, Safari or Opera, though it still plays the best in Chrome. Wes Bos explained how he did this, saying:

“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.”

Even angry birds is getting hacked, is there no gaming safe?

Editors' Recommendations

Jeff Hughes
Former Digital Trends Contributor
I'm a SF Bay Area-based writer/ninja that loves anything geek, tech, comic, social media or gaming-related.
Helldivers 2 just showed the highs and lows of live service in one chaotic weekend
A soldier in silhouette in Helldivers 2.

Helldivers 2 was on top of the world. Released in February to surprise acclaim, PlayStation and Arrowhead's co-op shooter quickly became the kind of success story that any gaming company would want to emulate. In a world of live service risks, this one was paying off thanks to a dedicated community whose commitment to democracy showed no signs of slowing down.

Then it all came crashing down in an instant.

Read more
The wait is over: Hades 2 is out now in early access on Steam
Hades 2 key art from its first trailer.

Hades 2 -- the highly anticipated sequel to a roguelike that Digital Trends considers to be one of the best games of all time -- is out now.

Developer Supergiant Games surprise released the game at 10 a.m. PT on Monday following a positively received Technical Test in April. It costs $30, a price that Supergiant Games says it "may raise" in the future depending on the scope of content added between now and Hades 2's full launch. As for how long that will take, the Steam page says that thegame will "be in Early Access development at least through the end of 2024." Supergiant Games isn't committing to a specific 1.0 launch date at this time.

Read more
Do you need a PSN account to play Helldivers 2?
A scene from Helldiver 2's opening cutscene.

Helldivers 2 has been a huge hit this yea,r with a consistent player base since its launch in February and a peak of over 450,000 players. Fighting for Super Earth, players have been waging war against monstrous insects and deadly robots and laying down their lives for democracy. But the game's reputation took a hit recently when it was announced that PC players would have to register for a PlayStation Network account to continue playing the game — a move that would have left players in parts of the world with no PSN support high and dry.

In  response, there was a major outcry (and review bombing of the game on Steam) in response, which led Sony and Arrowhead Game Studios to swiftly alter their policies to appease the player base. The entire ordeal has been a bit of a whirlwind, so it's OK if you're a little lost. Here's what you need to know.
Do you need a PSN account to play Helldivers 2?
No, you don't need a PSN account to play Helldivers 2 right now.

Read more