Check if player is on a mobile device

K.V.
27 Jan 2018, 02:30
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.