Check if player is on a mobile device

K.V.
JS.eval ("function isMobilePlayer(){if (typeof(currentTab) === 'string'){return true;}return false;};")

There's probably a more efficient method, but I needed to know if the player could see the status bar and such during a sequence in a game, and this seems to work.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums