Is Mobile Browser - Node.js Environment

Node.js examples for Environment:Mobile

Description

Is Mobile Browser

Demo Code


function isMobile() {
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
}

Related Tutorials