juliocesar / rack-noie

A Rack middleware to redirect (*cough* kick) IE6 users out of your website

This URL has Read+Write access

Julio Cesar Ody (author)
Wed Oct 21 16:22:11 -0700 2009
commit  a6f20ca91266d8509a98e69fa3dae49fe781b717
tree    0411b1ef64fe1988a23ec604acedf3aa398abf15
parent  c375a13139f9ad6aa42499b9d0b8d756ab3a8aed
name age message
file .gitignore Tue Apr 14 09:37:29 -0700 2009 first steps towards gemifying. [sant0sk1]
file README.markdown Loading commit data...
file Rakefile Tue Jun 16 17:15:12 -0700 2009 nicked wjessop's gemspec, renamed back to NoIE [Julio Cesar Ody]
file VERSION.yml Tue Jun 16 17:19:17 -0700 2009 version set to 1.0.0 [Julio Cesar Ody]
directory lib/ Tue Jun 16 17:15:12 -0700 2009 nicked wjessop's gemspec, renamed back to NoIE [Julio Cesar Ody]
file rack-noie.gemspec Tue Jun 16 17:37:27 -0700 2009 removed some final refs to noie6 [Julio Cesar Ody]
directory test/ Tue Jun 16 17:15:12 -0700 2009 nicked wjessop's gemspec, renamed back to NoIE [Julio Cesar Ody]
README.markdown

rack-noie

rack-noie is the coolest rack middleware ever created. And it is so because it does everyone a favor: it shows the way out of your website to poor souls out there using Internet Explorer 6.

installation

sudo gem install rack-noie -s http://gemcutter.org

usage

just

require 'noie'

and

use NoIE, :redirect => '/noieplease.html'

the above will redirect to a page noieplease.html in your website. You can redirect to a URL as well, like so

use NoIE, :redirect => 'http://slashdot.org'

or let the default kick in

use NoIE

disclaimer

I'm a nice guy. I'm so nice that the default URL points to Microsoft's IE8 upgrade page.

license

MIT, as usual.