code: public boolean detectPalmOS()
     {
        // Make sure it's not WebOS first
        if (detectPalmWebOS())
           return false;
  
        // Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
        if (userAgent.indexOf(devicePalm) != -1
                 || userAgent.indexOf(engineBlazer) != -1
                 || userAgent.indexOf(engineXiino) != -1) {
           return true;
        }
        return false;
     }
docs: Detects if the current browser is on a PalmOS device.
  
  @return detection of a PalmOS device