Questions tagged [mobile-browser]

A mobile browser is a web browser designed for use on a mobile device such as a mobile phone or PDA.

A mobile browser is a web browser designed for use on a mobile device such as a mobile phone or PDA. It also called a microbrowser, minibrowser, or wireless internet browser (WIB) that are optimized so as to display Web content most effectively for small screens on portable devices. Mobile browser software must be small and efficient to accommodate the low memory capacity and low-bandwidth of wireless handheld devices. Typically they were stripped-down web browsers, but as of 2006 some mobile browsers can handle more recent technologies like CSS 2.1, JavaScript, and Ajax.

417 questions
1275
votes
46 answers

Detecting a mobile browser

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 regex, but user-agents are too various for different platforms. I doubt…
ave
  • 18,083
  • 9
  • 30
  • 39
187
votes
22 answers

Overflow-x:hidden doesn't prevent content from overflowing in mobile browsers

I have a website here. Viewed in a desktop browser, the black menu bar properly extends only to edge of the window, since the body has overflow-x:hidden. In any mobile browser, whether Android or iOS, the black menu bar displays its full width,…
Indigenuity
  • 9,332
  • 6
  • 39
  • 68
87
votes
5 answers

forcing web-site to show in landscape mode only

I want to show my web-site in landscape mode only, is it possibile? It does not matter what the orientation is of device in user's hand but the web site will always be in landscape mode. I have seen iPhone application working like that but can this…
coure2011
  • 40,286
  • 83
  • 216
  • 349
72
votes
3 answers

Make scrollbar visible in mobile browsers

when I have a web page with a scrollable content. With css property "overflow:auto" or "overflow:visible" the scrollbar is visible on desktop browsers, but when I open the page on mobile browsers the scrollbar appears only when I try to scroll. Is…
user3098549
  • 1,171
  • 2
  • 13
  • 26
65
votes
8 answers

How to hide a mobile browser's address bar?

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 real estate to the website as shown in this image: I'm…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
35
votes
14 answers

jQuery scrollTop() does not work in scrolling DIV on mobile browsers, alternatives?

I am trying to scroll to a specific location in a scrolling DIV. Right now I am using a pixel offset with the jQuery scrollTop() function which works great on desktop browsers but it does not work on android mobiles browsers with the exception of…
LukeS
  • 799
  • 2
  • 8
  • 17
26
votes
6 answers

Prevent fixed-position background-image: cover from resizing in mobile browsers upon address bar hide

Sorry for a lack of example on this one, but I figure it's easy enough to understand. I have a fixed background on my site, which is currently implemented like this: #background { position: fixed; top: 0; bottom: 0; left: 0; …
addMitt
  • 951
  • 2
  • 13
  • 27
25
votes
1 answer

How to launch apps (facebook/twitter/etc) from mobile browser but fall back to hyperlink if the app isn't installed

I am hoping there might be some way of detecting whether or not an uri:scheme is registered on a mobile device from within the browser. IE: I'd like to check if the facebook, twitter, pinterest apps are installed and can be launched from their…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
23
votes
7 answers

How to prevent mobile keyboard from rising footer over the text fields?

I am having trouble with my footer. I want the footer to stay at the bottom of the screen, but there is a slight problem. When using mobile browser, some fields get blocked by the footer when opening the keyboard. The footer rises over the keyboard…
Firze
  • 3,939
  • 6
  • 48
  • 61
21
votes
3 answers

HTML/CSS: table font size different in mobile device

I would like to have a simple website that works both on desktop and mobile browser, and encountered a weird (rookie) problem: when I have a table whose column texts are of different length, the font sizes rendered in mobile device are dramatically…
Ying Xiong
  • 4,578
  • 8
  • 33
  • 69
17
votes
3 answers

Browser sending "Dalvik" as user agent

Android Browsers is sending Dalvik as the user agents in the request headers. I am currently working on a mobile site having a simple login page that validates username and password then authorizes users profile. But when i checked the request…
Austin N
  • 233
  • 2
  • 3
  • 11
16
votes
1 answer

How to enable CSS position: sticky in mobile browsers?

Added some position: sticky property to my webpage. On Desktop browser work fine but sucks in mobiles.
Ulukbek Abylbekov
  • 449
  • 1
  • 6
  • 19
16
votes
5 answers

URL Redirection not working in Android via Intent - (Page Not Found Error)

I have this code: Button bluehost = (Button)findViewById(R.id.bluehost); bluehost.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Intent browserIntent = new Intent(Intent.ACTION_VIEW, …
Genadinik
  • 18,153
  • 63
  • 185
  • 284
15
votes
2 answers

What browsers download hidden images

I'm mainly interested in what mobile browsers make the optimization of not…
Raynos
  • 166,823
  • 56
  • 351
  • 396
13
votes
6 answers

Some way to guess the speed of client connection

I have to do dynamic decision about the contents weight to send to the client based on his/her connection speed. That is: if the client is using a mobile device with 3G (or slower) connection, I send to him/her a lightweight content. If he/she is…
Sony Santos
  • 5,435
  • 30
  • 41
1
2 3
27 28