Agile Web Development

Build it. Launch it. Love it.

BrowserWar

BrowserWar will help you to fight off evil browsers that access your website. It allows you to display custom messages to any browser/version

script/plugin install git://github.com/sagebit/browser_war.git

startbrowserwar() is the central mathod of the plugin, and it takes many parameters, but these are the defaults:

startbrowserwar({:browsers => browserwarbrowsersdefault, :message => browserwarmessagedefault, :options => browserwaroptionsdefault})

In your layouts:

...

    <%= javascript_include_tag(:defaults, 'browserDetect', 'browserWar') %>

...

*Note: Please refer to the README for more details.

Vitals

Home http://github.com/sagebit/browserwar_plugin/tree/master
Repository git://github.com/sagebit/browserwar_plugin.git
License Rails' (MIT)
Tags Tag_red iedeathmarch
Rating (2 votes)
Owner Sagebit
Created 11 November 2008

Comments

Add a comment