TurnWheel / jReject

jQuery Browser Rejection Plugin
http://jreject.turnwheel.com/
277 stars 98 forks source link

separate jReject detection features #55

Open thegregthomp opened 10 years ago

thegregthomp commented 10 years ago

So this isn't much an issue but a request but, I recently used jReject on a project and I love their browser detection feature where the added the info to the html class. This along with modernizr is amazing. I had another project where I'm actually using the jreject for just that reason. I'd love to see a light way stripped version that all it does is detect browser and adds those classes to the html tag.

BluSyn commented 9 years ago

Not a bad idea. The detection code is technically separated in the jreject.js file. I could see the value of separating that into its own project.

It is originally based on jQuery Bower Plugin here: http://jquery.thewikies.com/browser/ The original author has not updated this library since 2008. I have made significant changes to it for use in jReject, mostly related to newer devices (eg, mobile).

I will keep this ticket open, and consider splitting the projects when I get the opportunity.