39

I am a web developer for a Django-based site for a student organization, and I have the opportunity to make the website temporarily absurd for a day of general campus-wide debauchery and chaos (long story, doesn't matter.)

What are your best ideas for web development practical jokes (that you could never use in the real world)?

For example, one idea we had was to use a client-side script to convert each character to its upside down equivalent in Unicode, s??? ???? ?u?????os.

I'm not necessarily looking for Django-specific solutions. I imagine most of these things would happen on the front-end. I am also quite aware that usability will suffer considerably--the point is to be fun for a day, and there will always be a link to the normal version of the site.

Also, everything must be relatively cosmetic and easily reversible--I'm happy to swap out static CSS/JS/HTML/templates/images, and even temporarily add a django view, but no messing with the data level!

49

At a Dutch IT related forum there was ever an 1 April joke with some Javascripts (created by the creator of the fabulous DHTML Lemmings who's the webdev forum moderator over there) which made all pages instantly been broken up by constantly downfloating mining and exploding lemmings.

Some screens:

alt text

alt text

It was really awesome. I unfortunately cannot find the original scripts anywhere (I'll however contact him sooner or later), but it should give some ideas :)

Update: he pointed me the location of the script: http://tweakimg.net/g/forum/templates/tweakers/js/l.js It's however specific to Tweakers.net, but it should give sufficient ground for some ideas. Here's a blog with some background and explanation how it works.

Have fun!! ;)

33 accepted
document.body.style.MozTransform = 'rotate(180deg)';
document.body.style['-webkit-transform'] = 'rotate(180deg)';

Ideas for web development practical jokes - rotated screen

15

http://www.cornify.com

A semi-related story:

When I left a previous job, I added some code into our homepage so that for one particular user only, after one minute on the site without changing the page, it would "cornify" it. This meant that should she open the site, then go check emails, when she returned it would be covered in rainbows and unicorns, but it wouldn't be immediately obvious what triggered them (and hence, when she went to show someone, it probably wouldn't happen). There was also a built-in 1% chance per pageload that all the text on the site would be switched to color: #f0f (fuchsia).

The bad part of the story was that she showed her husband who figured it must be a virus, so they raced out and paid way too much money for Norton's or something. After that, my successor (who, like everyone else in the company, was aware of the prank) turned off the cornify action, but -- since she actually loved it so much -- left in the 1% chance of fuchsia text.

13

One tag to rule them all:

<blink></blink>
11

Give it a "retro" feel. Marque tags with horizontal and vertical scrolling, loudly coloured backgrounds, low-rez animated GIFs galore... And make sure you use the <blink> tag!

oh yeah, and add those stupid animations that follow the cursor everying, like a sparkly unicorn or something awful like that.

9

Just take a snapshot of the website, and substitute the entire page with just that image. People will try to click everywhere, but no chance :)

8

Why not simply add a bit of javascript (digitalBush's hotLinkr) to do any of the following:

  • cornify - This injects the cornify script from cornify.com and adds sparkle and happiness on 5 second intervals.

  • translate - Redirects to a google translated version of the site in Swahili.

  • pad - Adds 300px of padding to all divs on the page.

  • hasselhoff - Changes all images on the site to reference a picture of David Hasselhoff with puppies.

  • overlay - Overlays a transparent div on top of the entires page to prevent interaction with the site.

  • flip - Flips all images upside down on the site in IE. Flips the entire page on other browsers.

  • move - Picks a direction and moves the margin body in that direction.

  • spaz - Jiggles the body margin.

  • vroomvroom - Gives the hotlinking site an extra 20hp and 15 ft/lb of torque.

  • rickroll - Self explanatory. (If evil)

It's already been written for you. All you have to do is edit it.

4

redirect to http://en.wikipedia.org/wiki/Practical_joke

:)

3

My favorite website practical joke has always been adding JavaScript to buttons so when you click on a button, instead of performing their actions, the button would move to the other side of the screen. Click on it again and it moves back. You can move around to several different spots.

3

I like your idea of flipping all characters to their "upside down equivilent". I would add that you could add an Apache rule to flip all the images as well:

Upside-Down-Ternet

Upside-Down-TernetHowTo

Example: alt text

2

Rotating the entire web page would be fun using CSS Matrix Rotations.

2

Animated characters (using GIF or something) walking across the screen. Or maybe a ghost that jumps at you suddenly :)

2

Use the text shadow tag and some fun coloring options in CSS to make everything in 3D! Find some cheap 3D glasses and start handing them out to people but not inform them why (probably mention something about the importance of them so they just don't go throw them away...).

EDIT: If you wanted to keep it simple, since hyperlinks are usually blue I'll assume yours are, so just add the following CSS code. Not positive if text shadow is supported in all browsers... I just did it in Firefox.

a { text-shadow: 2px -2px red };

But yeah I don't know how cheap even some cheap 3D glasses would be. Still it'd be kinda funny just to put out there. I think most people would get the joke even without the glasses.

1

Put everything in <marquee> tags. Or make everything fall to the ground like this: http://www.chromeexperiments.com/detail/gravity/.

1

We have a comment feature on the site, and I'm looking for a fun way to prevent folks from commenting during this day of mayhem. I'm considering trying to move the "comment" button to a different location on the page when moused over, to prevent the user from ever actually clicking.

1

Make every link go to a Rickroll video on Youtube! Oh the fun things that would ensue...