Removing address bar from browser (to view on Android)
You can do that with the next code
if(navigator.userAgent.match(/Android/i)){
window.scrollTo(0,1);
}
I hope it helps you!
hide mobile browser address bar on chrome (android)
scrollTo(0,1) is not yet supported in Chrome for Android (it was recently added and then removed). We do have the FullScreen API but that is a little heavy handed for what you want to achieve.
Hide address bar on chrome mobile
request full screen. i'm not sure if your users wil like it.
http://updates.html5rocks.com/2011/10/Let-Your-Content-Do-the-Talking-Fullscreen-API
Related Topics
Decoding Url Parameters with JavaScript
Prevent Browser from Loading a Drag-And-Dropped File
"Status Code:200 Ok (From Serviceworker)" in Chrome Network Devtools
JavaScript Detect Click Event Outside of Div
How to Inject a Style with an "!Important" Rule
Multiple Slideshows on One Page Makes the First One Not Work Anymore
Bootstrap Collapsed Menu Links Not Working on Mobile Devices
Jqgrid Viewgridrow Dialog Big Span and Icon
Changing Pseudo-Element Style from JavaScript
Regex Match Count of Characters That Are Separated by Non-Matching Characters
Uncaught Syntaxerror: Unexpected Token :
New Date() Is Working in Chrome But Not Firefox
How to Get Get and Post Variables with Jquery
Javascript: Get Deep Value from Object by Passing Path to It as String
How to Avoid Global Variables in JavaScript
Getmonth in JavaScript Gives Previous Month