About 11,900,000 results
Open links in new tab
  1. javascript - Detecting a mobile browser - Stack Overflow

    Jul 8, 2012 · I'm looking for a function that returns a boolean value if the user is using a mobile browser or not. I know that I can use navigator.userAgent and write that function by using …

  2. How to detect a mobile device with JavaScript? - Stack Overflow

    Jul 12, 2011 · I have been asked to create an actual HTML page / JavaScript to simulate detection of the mobile devices (iPhone / iPad / Android) using JavaScript code. This will then …

  3. How to detect a long touch pressure with javascript for android …

    The problem with using Touch End to detect the long touch is it won't work if you want the event to fire after a certain period of time. It is better to use a timer on touch start and clear the event …

  4. javascript - Force “landscape” orientation mode - Stack Overflow

    Jan 16, 2013 · I'm trying to force the "landscape" mode for my application because my application is absolutely not designed for the "portrait" mode. How can I do that?

  5. Detect a finger swipe through JavaScript on the iPhone and Android

    473 How can you detect that a user swiped his finger in some direction over a web page with JavaScript? I was wondering if there was one solution that would work for websites on both …

  6. How to hide a mobile browser's address bar? - Stack Overflow

    Safari and Chrome on mobile devices both include a visible address bar when a page loads. As the body of the page scrolls, these browsers will scroll the address bar off screen to give more …

  7. How can I hide the Android keyboard using JavaScript?

    Dec 1, 2011 · But this doesn't work if the keyboard is already visible. Is this something that can be done? javascript android keyboard edited May 23, 2017 at 12:34 Community Bot 11 asked …

  8. Show virtual keyboard on mobile phones in javascript

    Show virtual keyboard on mobile phones in javascript Asked 14 years, 3 months ago Modified 4 years, 8 months ago Viewed 99k times

  9. Blocking device rotation on mobile web pages - Stack Overflow

    Aug 17, 2010 · Is it possible to detect on my page, for example using Javascript, when user visit it using mobile device in portrait mode, and stop orientation changing when user rotate its phone …

  10. regex - Validate phone number with JavaScript - Stack Overflow

    Validate phone number with JavaScript Asked 14 years, 11 months ago Modified 1 year, 5 months ago Viewed 802k times