Giter Club home page Giter Club logo

Comments (2)

verbatim avatar verbatim commented on September 2, 2024

Thanks for all your great contributions to the web community.

I noticed your comment here. But I find it unclear. I was hoping you could clear up your comment above.

"really well done script here...": does that refer to css_browser_selector or cssuseragent?

"has some fixes that arent part of this one.": same question, which script is this referring to?

Are you saying that cssuseragent is the better script or css_browser_selector? and why? and if cssuseragent, what features do you think it has that css_user_agent does not?


I find css_browser_selector.js to be an excellent script. For me, css_browser_selector, goes into the right amount of detail. The script if small and easy to understand. Cssuseragent user agent also appears to be a good script, but, in my opinion, it seems to go into too much detail, and is not as easy to understand. It also left off your suggestion about either adding "js" or replacing "no-js" with "js".

I recently made some revisions to css_browser_selector to include several of the suggestions that were left in the pull requests, including yours about "js".(you'll see a 'hat tip' to you at the bottom of the script)

My version now includes:
any version of Firefox
more versions of Windows (Win7, Vista, XP, Win2k)
more versions of IE under unique conditions
if "no-js" present in HTML, replaces with js

https://github.com/verbatim/css_browser_selector

I'd love your feedback, if you feel I have improved this script.

from css_browser_selector.

paulirish avatar paulirish commented on September 2, 2024

Hey verbatim..

I was referring to cssuseragent in both cases.

His javascript is really well written (and you can read it). He also has a test suite which i'd love to see in this project.

OOOh your fork looks great. thanks for the formatting. :)
you should combine the lines 71 and 72, so you only set the className just one.

otherwise it's ace.

(just could use a test suite)

from css_browser_selector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.