Skip to content

Instantly share code, notes, and snippets.

@AndreasMadsen

AndreasMadsen/README.md

Last active May 16, 2020
Embed
What would you like to do?
Escape-from-xp

From twitter I was told of escape-from-xp ( https://twitter.com/sylwia_erhardt/status/489554167120527360 ). Obiusly I had to hack this an discovered that the code ( https://escapefromxp.azurewebsites.net/game.min.js ) besides not being very compressed, also contained easter eggs for any JavaScript enthusiast. This is how you enable them all:

  1. Go to: https://escapefromxp.azurewebsites.net/#arcade . https://www.modern.ie/en-us/virtualization-tools#escape-from-xp just contain an iframe to this location and #arcade makes sure no redict back to www.modern.ie occurre. #arcade also enables a few other things, you will notice the text have changed a little. Also you now change weapon on F.

  2. Open the JavaScript console in your browser and type:

event = { source: { postMessage: function () {}} };
["hardcoreMode", "originalHacker", "tanksTanksTanks", "IDDQD"].forEach(
  window.ig.game.installServicePack.bind(window.ig.game)
)
  • hardcoreMode sets your health to one bar
  • originalHacker replaces the paperclip in the background with some hacker dude
  • tanksTanksTanks all the enemies are IE tanks
  • IDDQD you don't take damage when hit

:)

@R4to0

This comment has been minimized.

Copy link

@R4to0 R4to0 commented May 20, 2019

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

@SaragocaG

This comment has been minimized.

Copy link

@SaragocaG SaragocaG commented Jun 23, 2019

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

Great!

@Jeremiidesu

This comment has been minimized.

Copy link

@Jeremiidesu Jeremiidesu commented May 16, 2020

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

Love you, you're a boss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.