Everybody, I’d like you to meet Alfie Simmons. He is my housemate, and an awesome one at that. Today he gave me a fantabulous idea. Ever spent copious amounts of time after finishing your website website/application and then thought… “y’know, what I’d really love to do is piss about for weeks on end getting it to work in the gazillion versions of IE that people all seem to still have”. Nope? Well, we have the answer.
Today I spent 45 painstaking MINUTES coming up with a crude WordPress plugin. It allows you, the webmaster, to specify messages of abuse to users…. but only those using Internet Explorer!
Full of win? I think so.
As I can’t be bothered spending much time on this and/or optimising it, I will warn you that it doesn’t use jQuery, F5 may cause a few script reload problems and it is literally very very very quick. If anybody wants to modify, be my guest!
So, here’s the low down…
1. Place this PHP file in your wp-content/plugins/ directory of your WordPress install.
2. Go to Plugins on your WordPress dashboard. Find the Abuse IE Users plugin and click Activate.
3. On the Settings menu, you’ll find “Abuse IE Users” as an option. Here you can add/delete statements of abuse.
4. Once you have added at least one. Every time a page loads for IE users, they’ll see randomly one of those messages!
5. Please PLEASE PLEASE remember to keep your abuse constructive. Nasty viciousness is not what we designed this for. We want the whole world to unite and use Chrome or something. “I hate you and you’re going to die” is not constructive. “I only date Chrome users” is. 🙂