UPDATE on September 21st, 2006.
I will no longer develop this module because someone else has picked up this idea and developed a new module for Drupal 4.7 and Google Adsense integration.
Visit http://www.explorerdestroyer.com/ to get it.
====================
Those of you who knew my old website probably remember that if you visited it using Internet Explorer, you’d be redirected to a page explaining why you shouldn’t use Internet Explorer and that my site isn’t tested with it, so if anything was broken you’d know why and if you still wanted to see my website, you should switch browsers.
Well, since I installed Drupal, that “feature” has not been present. I decided it was time for me to correct that glitch and try my hand at writing a Drupal module.
The result is “Stop IE”, a very simple module that uses Gary White’s PHP browser detection class to check if you’re using IE and if so, it redirects you to that nice page I mentioned above, just like my old site used to do.
I decided to put the module available here for download, in case someone wants to put it in a Drupal site. It has only been tested with Drupal 4.6.x but it should also work with 4.5.x and 4.4.x, I think.
If you have any comments or suggestions, feel free to post them here as a comment!
CHANGELOG:
01/01/2006 - Stop IE 1.0
- Stop IE now has a settings page where the redirection URL can be configured, as well as how long the ‘i_want_to_use_ie’ cookie will last, which after expiring will force the redirection of the user once again.
23/11/2005 - Stop IE 0.6
- Stop IE now passes a ‘destination’ variable in the URL. This variable contains the page the user was trying to reach before being redirected, so that a link back to that page can be made.
21/11/2005 - Stop IE 0.5
- Initial release.
Raúl Santos