Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to Detect OS 9 or OS X?

Posted on 2003-03-26
Medium Priority
Last Modified: 2013-11-17
I need to detect whether the operating system on a Mac is OS X or OS 9 when i open a html file on a CD.
Question by:mDheatley

Accepted Solution

tomster earned 352 total points
ID: 8210456
One thing that comes to mind: try linking locally to a file on the CD via


if the link is not broken you can safely assume that you're on MacOSX



works you're probably on MacOS 9



Assisted Solution

msents earned 348 total points
ID: 8220778
Do a browser check. The current browser versions for OS 9 are probably not going to change, so hard code for the version numbers (i.e. up to MSIE 5.14; Mac_PowerPC for Mac OS 9) but use a range for OS X (cf. MSIE 5.22+ for OS X). You can get the code for a browser check from any number of online sources.  

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
How to take pictures with depth using iOS 10
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question