You can do that with the next code
if(navigator.userAgent.match(/Android/i)){
window.scrollTo(0,1);
}
I hope it helps you!
More Related Contents:
- Are there any standards for mobile device web browsers in terms of thread sleeping? [closed]
- screen styling when virtual keyboard is active
- JavaScript how to check User Agent for Mobile/Tablet
- How to detect if web app running standalone on Chrome mobile
- what all the main differences in cordova and phonegap [closed]
- Detect rotation of Android phone in the browser with JavaScript
- Android Calling JavaScript functions in WebView
- Call Java function from JavaScript over Android WebView
- How can I hide the Android keyboard using JavaScript?
- Viable options for running NodeJS on Android (Aug 2017)
- Get GPS location from the web browser
- Android WebView JavaScript from assets
- Javascript date is invalid on iOS
- Use jQuery to detect whether a device can make telephone calls (supports “tel://” protocol)
- JavaScript not working in Android Webview?
- Is there a way to enable the JavaScript Error/Debug Console for Safari within Android?
- Android webview, loading javascript file in assets folder
- WebView methods on same thread error
- JavaScript resize event on scroll – mobile
- Can I use Javascript to get the compass heading for iOS and Android?
- React Native Android build failure with different errors without any changes in code for past days due to publish of React Native version 0.71.0-rc.0
- Detect Android phone via Javascript / jQuery
- How to detect Facebook in-app browser?
- iphone/ipad triggering unexpected resize events
- Mobile viewport height after orientation change
- React-Native assembleRelease fails for task ‘:app:bundleReleaseJsAndAssets’
- What are best practices for detecting pixel ratio/density?
- Display Good-looking Math Formula in Android
- window.close equivalent in Phonegap with InAppBrowser
- Android Phonegap – How to Open Native Google Maps Application