I love office pranks. My latest prank targetted one of our app developer teams.

I added the following snippet of code to their dev server proxy (to be injected into one of the JS libraries they use). Every now and again, a picture of Nicholas Cage is briefly seen before vanishing.

As a result, this innocent looking screen:

… Would flash a Nic Cage photo and then vanish before you’d know it:

Needless to say, at 8AM some of the developers thought they were going mad!

The injected code is shown below.