# Detection if user is on Mac or PC

**URL:** <https://forum.kirupa.com/t/detection-if-user-is-on-mac-or-pc/11223>\
**Category:** flash\
**Created:** [January 14, 2003, 9:00am UTC](https://forum.kirupa.com/t/detection-if-user-is-on-mac-or-pc/11223 "2003-01-14T09:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thriller](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@thriller](https://forum.kirupa.com/u/thriller)\
**Post date:** [January 14, 2003, 9:00am UTC](https://forum.kirupa.com/t/detection-if-user-is-on-mac-or-pc/11223/1 "2003-01-14T09:00:53Z")

</div>

Is there a way to detect if a user uses a mac or pc with a javascript or flash movie. I need to redirect the user to two different sites because the mac srews up my layout.

I hope one of you guys can help me with this. I really apriciate:P it if you help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 10:09am UTC](https://forum.kirupa.com/t/detection-if-user-is-on-mac-or-pc/11223/2 "2003-01-14T10:09:09Z")

</div>

for javascript use

**navigator.appVersion**

and flash you can use

**$version**  
or more specifically  
**System.capabilities.os**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 14, 2003, 10:56am UTC](https://forum.kirupa.com/t/detection-if-user-is-on-mac-or-pc/11223/3 "2003-01-14T10:56:27Z")

</div>

thanx, I’m going to try it right now
