I am looking for a way to detect the OS for a downloads page using jQuery or Javascript to recommend specific files for Mac vs Windows. I was hoping to do it without adding
Make sure the right download link is easy to find, but without hiding the other OS links. The people might still want those.
And some html
Now the user may disable or block javascripts if he wants. The links will still be there, as opposed to writing the links with Javascript, which requires javascript to work.
Here is a fiddle
http://jsfiddle.net/7fmJb/