cpojer/mootools-mobile — pull request #17 by robernet (2014-09-01 06:57:49+00:00)
Title: Use of Browser.platform in Mootools 1.5.0

Reading further into the deprecated Browser.Platform, and looking inside Mootools 1.5.0 code, shows the Browser class now returns 'mac', 'linux', 'windows', 'ios', 'webos', 'android' or 'other' when calling Browser.platform:

var platform = ua.match(/ip(?:ad|od|hone)/) ? 'ios' : (ua.match(/(?:webos|android)/) || platform.match(/mac|win|linux/) || ['other'])[0];
if (platform == 'win') platform = 'windows';

I tested in linux and ipad, and it works, pending Windows and Mac.