kevinelliott / agent_orange

Parse and process User Agents like a secret one
126 stars 36 forks source link

Detect major version of Safari? #37

Open Shpigford opened 11 years ago

Shpigford commented 11 years ago

Is there a way to detect the "top level" version of Safari?

For instance, Safari 6.0.2 has a "version" of 536.26.17. I want to show 6.0.2, though, and I can't figure out a way to get that.