Placed in: Home
The browser that destroyed my April fools joke: IE

"Your website has ben hacked! Everything is turned upside down!". One of the more common e-mails that I found in my mailbox today. I think many people actually forgot which day today was: April Fool's day.

For those people who have contacted me with the message above (or a like), a big thanks for you. You're showing some real appreciation for my website. But let this be a lesson for everyone: Be aware of and don't believe everything on April 1st. And which hacker / defacer would take the time to turn all article upside down & add a nice CSS floating corner?

April Fools 2008 on Marcofolio.net

I got the idea of this joke from flip and the upside down ternet router hack. It wasn't that hard to make, but the results were pretty funny. I used some unicode characters that has upside down characters that replaced the original ones.

There was just one problem with this: The more commonly used web browser Internet Explorer 6 couldn't handle Unicode and only displayed boxes / squares. I had to check the browser the visitor was using and if it was using IE, showing upside down images of characters instead of the Unicode. Thanks again Microsoft! And for those visitors who indeed are using IE6, please save the developers by getting another web browser.

I missed the joke

For those of you who missed out my joke (You'll need to visit Marcofolio.net every day!), here's a screen shot from one article. Don't forget: All of my articles are really placed upside down.

Marcofolio.net April Fools
Click to enlarge

Here's an example where you can see the article is really placed upside down. Rotate your head or just place your monitor upside down to read.

How did you do it?

To achieve this, I needed to replace all characters in the article with an upside down character. I checked the source of flip and it showed me a couple of upside down characters I could use on my website. I searched for the correct Unicode alternative and replaced the original character with this.

Here's the (uncomplete) PHP code..

 
$article = "String that will be placed upside down";
// Full article to lower characters
$article = strtolower($article);
 
// Revert the string to make it read-able upside down
$article = strrev($article);
 
// Replace characters with upside down characters Unicode Characters
// Reference: http://theorem.ca/~mvcorks/code/charsets/auto.html
$article = str_replace("e", "ǝ", $article);
$article = str_replace("f", "ɟ", $article);
$article = str_replace("g", "ƃ", $article);
$article = str_replace("h", "ɥ", $article);
$article = str_replace("i", "ı", $article);
$article = str_replace("j", "ɾ", $article);
$article = str_replace("k", "ʞ", $article);
 
// Time to show the upside down article
echo $article;

You can download and learn from the full script in the download section. You can also view the demo page (Note: Doesn't work in IE6).

But for the CMS I'm using (Joomla!), I needed to make some customizations in components/com_content/content.html.php. You can find the modifications in the script that I placed in the download section beginning on line 528. This one does check the browser and displays images when the visitor uses IE6. Please take note this it for J! 1.0.x.

Other April fools pranks

Many websites did try to pull a prank on the visitors. Collegehumor created a MySpace looking layout, showing a girl which is the new owner of the site. MyMac placed an article of Steve Jobs leaving Apple.

Google actually had several jokes: Google Calendar Wakup Kit, Google Australia now can look in to the future, Gmail Custom Time and Virgle. The last one is Virgin combined with Google to explore the planet Mars. Don't forget to fill in the application form (I am a world-class expert in -> Guitar Hero II).

YouTube had a rickroll, linking all their featured video's to Rick Astley's "Never Gonna Give You Up". Shoemoney placed an article on how to make $100000 in 1 hour. I think there's something with the sound...

For the most complete list on April Fool pranks, you can check aprilfoolsdayontheweb.

Hope you liked it folks! Next year, new prank, I'll try to be creative. Now I just hope I didn't screw up my Google ranking with this joke.


Tags:  marcofolio.net april fools joke browser internet explorer

Interested in this topic? You might enjoy another article I've written called

Did you like this article? Subscribe to my feed or email to keep updated on new articles.

Spread the word and submit to:
Digg!Reddit!Del.icio.us!Facebook!StumbleUpon!
Comments
Add NewSearchRSS
Jonathan   2008-06-12 22:33:44
Gravatar image Would you like to browse the whole web upside down? :D

http://flip.sytes.org/
better store pharmacy spot - better store pharmacy spot   2011-06-09 06:35:34
Gravatar image You are awesome people and bring great info; I definitely look forward for your work as I am a regular visitor of your site. Thanks a lot, superb work!!!!!
online hair loss pacts - online hair loss pacts   2011-06-09 06:36:06
Gravatar image I am strongly associated with this site. As this site has inspired me a lot always in a new way and made my work easy by every time highlighting on the new issue and make me pleased. Thanks you people rock!!!!!!
over weight dosage - over weight dosage   2011-06-09 06:36:37
Gravatar image I am frequent reader of the articles and new knowledgeable post about new things always and would be searching new stuff for that. And I really thank you people for providing us new articles and post. Thanks a lot!
weight loss sideeffects - weight loss sideeffects   2011-06-09 06:37:10
Gravatar image It was really surprising to see such a wonderful post that is inspiring and informative and caught the attention of many people. I am a regular visitor of the blog and love the work of these people.
overweight persons - overweight persons   2011-06-09 06:39:54
Gravatar image I often like surfing on net and find info on new things and this time I got a new website which has great info and is quite brilliantly written. Am just thrilled and excited to see this and hope to see more work of you people in future.
best over weight online games - best over weight online games   2011-06-09 06:40:31
Gravatar image You guys are really wonderful who search and bring such a wonderful info, I am glad to see this time also a useful stuff that had inspired me. Thanks a lot do keep giving us genuine stuff
better pharmacy storess pot - better pharmacy storess pot   2011-06-09 06:41:31
Gravatar image I enjoy reading the post and have become a great fan of yours. Keep up with the good job and please provide us with great blogs. I really appreciate the research you people take for the posts.
best clinic pharmacy tips - best clinic pharmacy tips   2011-06-09 06:41:59
Gravatar image It was perfect collection of such useful information. This was a helpful post foe me. Thanks for sharing such nice information. Thanks a lot!
hair loss side effects club we - hair loss side effects club website   2011-06-09 06:42:30
Gravatar image I was a great experience to read your post. I found your site from Google and thank a lot for this nice and wonderful information. The information posted was useful and interesting.
pharmacy website reviews - pharmacy website reviews   2011-06-09 06:43:02
Gravatar image Thanks a lot for such a wonderful post, the stuff posted were really interesting and useful. The quality of the content was good and clear. Thanks for the post
herbal hair grow loss - herbal hair grow loss   2011-06-09 06:43:39
Gravatar image I appreciate the ideas posted on your site; they were very informative and innovative. It was worth visiting your site. Thanks a lot for such valuable information.
liquid diet side effects repor - liquid diet side effects report   2011-06-09 06:44:20
Gravatar image It is amazing to such useful information at one place. I was looking for the same information from a long time, at last I found it. Thanks for such innovative and amazing information.
super online pharmacy clinic - super online pharmacy clinic   2011-06-09 06:47:30
Gravatar image I am extremely happy to write a comment on this blog. The information provided on the site was very informative and useful. Thanks a lot for such needy and innovative ideas and concepts.
rajendra - WebHostingPad   2011-08-02 09:43:13
Gravatar image Thanks a lot for sharing the nice info in this blog and great technology is visible in this blog. I am really very happy for visiting the nice info in this website that to nice service in this blog. This is very much satisfied by the info in this website and the great info is visible in this blog. I am very much thanks for visiting the nice info in this blog and the using the great technology is visible in this blog.
Jaime - The webbrowser that destroyed my April fools joke:   2012-08-18 06:09:48
Gravatar image Hi there mates, nice paragraph and fastidious urging commented here, I am truly enjoying by these.
Anonymous   2013-01-11 18:29:39
Gravatar image :evil: alun of gelli rhondda valley
Bernadine - The webbrowser that destroyed my April fools joke:   2013-04-26 05:46:36
Gravatar image Post writing is also a excitement, if you be acquainted with afterward you can write otherwise it is complex to write.
Vivian - The webbrowser that destroyed my April fools joke:   2013-05-02 17:08:41
Gravatar image CUM GRAB SOM LOW COST LIFE INSURANCE BITCH
Ingeborg - The webbrowser that destroyed my April fools joke:   2013-05-05 20:27:37
Gravatar image Thank you for sharing your thoughts. I truly appreciate your efforts and I will be waiting
for your further write ups thank you once again.
Read more...
Name:
Email:
  Gravatar enabled.
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Security Image
Please input the anti-spam code that you can read in the image.
Unsubscribe from e-mail notifications.
 
< Prev   Next >
Subscribe

Subscribe to Marcofolio