
braowser.js is a vanilla JavaScript library that detects the client’s device, browser, operator system, screen solution and adds the corresponding CSS styles to the HTML tag.
For example:
<html lang="en" class="ios mobile touch retina chrome v-76"> ... </html>
How to use it:
1. Include the minified version of the braowser.js library on the webpage.
<script src="lib/braowser.min.js"></script>
2. Do something depending on the current device, browser, operator system, screen solution.
if(braowser_hasClass('windows chrome v-76')){
// Do something if browser is Chrome v76
}






