Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Rack middleware to redirect (*cough* kick) IE6 users out of your website
branch: master

This branch is 3 commits behind juliocesar:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
README.markdown
Rakefile
VERSION.yml
rack-noie.gemspec

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 Rack::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 Rack::NoIE, :redirect => 'http://slashdot.org'

or let the default kick in

use Rack::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.

Something went wrong with that request. Please try again.