css_browser_selector
css_browser_selector copied to clipboard
A very small javascript library that allows you to create browser specific CSS to be merged into your normal classes. No more hacks or mischievous code in your CSS code.
It regards Opera as a Chrome ... mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/71.0.3578.98 safari/537.36 opr/58.0.3135.68
Currently when using Edge the selector is chrome. I found an example of the Edge user agent string here: http://stackoverflow.com/questions/30591706/what-is-the-user-agent-string-name-for-microsoft-edge “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71...
mozilla/5.0 (linux; android 6.0.1; samsung sm-a500fu/a500fuxxs1cph2 build/mmb29m) applewebkit/537.36 (khtml, like gecko) samsungbrowser/4.0 chrome/44.0.2403.133 mobile safari/537.36
Hello, Adding tags for repo could specify points in history and mark release points. It's helpful for user to know the version and status of repository, and would enable wider...
Please, add support YaBrowser to script: ``` ... /* Yandex Browser */ (/yabrowser\/(\d+)\.(\d+)/.test(ua) && (re = RegExp)) ? g + ' yandex yandex' + re.$1 + ' yandex' + re.$1...
@verbatim are you still maintaining this?
I use this JS years ago and now, and I think create project to GPL2 or MIT is the best option to share or enter to the whitelist cms core...
your page say should be Yellow ?
Added the fork with a demo file here: https://github.com/isarmstrong/css_browser_selector If Rafael comes back, I'll merge it as a pull request instead
Also added an in-project demo page. Would like to add a Bower init as well.