[ANN] browser_detect plugin

I just knocked up a quick plugin based on Rafael L.â??s Javascript which
was inspired by the Browser selectors in CSS post by 37signals.

Itâ??s pretty naive at the moment, but could be nice to build on in the
future. It adds two helper methods available in your views - browser_is?
and browser_name

<%= browser_name %> => mozilla (or whatever)

<% if browser_is? :mozilla %>
do something
<% end %>

More on this blog post:
http://livsey.org/articles/2006/07/22/browser_detect-plugin

Or view the source:
http://svn.livsey.org/plugins/browser_detect/

Also at http://agilewebdevelopment.com/plugins/browser_detect :slight_smile:


Benjamin C.
http://www.bencurtis.com/
http://www.tesly.com/ – Collaborative test case management
http://www.agilewebdevelopment.com/ – Resources for the Rails community