Forum Moderators: open
However, there are other operating systems than just those two, and also the possibility that a script may not detect the OS for various reasons. So I would suggest serving the "Windows" page by default, and then running a OS detection and redirect script in the <head> of your html document to send Macintosh users to a different page.
I'd also suggest using the location.replace() method so the Back Button stays intuitive for your mac visitors. Here's one way to do it:
<script type="text/javascript">
if (navigator.appVersion.indexOf("Mac")!=-1)
location.replace("mac-page.html");
}
</script>