The source is available on Github, or there's my fork of it.
Matt Long, of Sagebit, and I wrote it over the past few days. It will kick crappy browsers right in the face!!!
Fork and tweak to your heart’s content! Please send pull requests if you find any bugs or new features.
It is the first open source project Sagebit has released on our new website.
Soon we'll release a Ruby on Rails plugin that gives you a neat helper method to set up a browser war in your view templates to fight IE, or whatever other browser you have a vendetta against.
Example usage (edit bottom of browserWar.js, or can be called within a
tag in HTML files):browserwar.setup();
browserwar.klass('', 'browser_warning', true);
browserwar.message('You are using ' + browserwar.browser_display_name + " " + BrowserDetect.version + '. To get the best experience from this site we suggest you upgrade your browser.');
browserwar.position('90px','0px','200');
browserwar.linkcolors('blue','red','purple')
browserwar.style('200px','20px','8px ridge #CE8DAD','#fff','#000');
browserwar.fight('Explorer', 6);
browserwar.fight('iCab');
browserwar.run();
Sweet! IE will lose the war!


1 hashings:
I don't know what that means, but I'm rooting for you to kick the crappy browsers' buts!
Post a Comment