Questions tagged [mobile-chrome]

Chrome mobile is Google's browser for mobile phones. It is available on android and iOS

204 questions
417
votes
10 answers

Is it possible to open developer tools console in Chrome on Android phone?

An AngularJS application works fine on desktop, but is not rendering properly on mobile (actual code is showing). This is on an Android phone. I would like to see what errors are showing in the console. Is it possible to open JS console on chrome…
tim_xyz
  • 11,573
  • 17
  • 52
  • 97
166
votes
11 answers

100vh height when address bar is shown - Chrome Mobile

I came across this problem a few times and was wondering if there was a solution to this problem. My problem occurs on the Chrome mobile app. There, you can scroll down a bit and the address bar disappears. So far, so good, let's make an example:…
Tobias Glaus
  • 3,008
  • 3
  • 18
  • 37
81
votes
2 answers

remove grey background on link clicked in ios safari / chrome / firefox

When you click (touch) a link in Safari (or chrome or firefox) for iOS, you get a grey background behind link (only while you're holding it). Is there a way to remove this feature using CSS? Please see the example image below:
sam
  • 9,486
  • 36
  • 109
  • 160
30
votes
7 answers

Deeplinking mobile browsers to native app - Issues with Chrome when app isn't installed

I have a webpage, lets call it entry.html. When a user enters this page, a javascript code (see below) is attempting to deep-link the user to the native iOS / Android app. If the deep-link fails (probably if the app isn't installed on device), user…
geevee
  • 5,411
  • 5
  • 30
  • 48
23
votes
2 answers

event.key is undefined in mobile browsers for keyup, keydown and keypress

The following code is supposed to simply suppress any key press and add the pressed key to a div instead. This works fine on desktop, however on mobile (safari and chrome) event.key is undefined.
Philip Feldmann
  • 7,887
  • 6
  • 41
  • 65
23
votes
4 answers

CSS animation-delay timing off in Safari and mobile Chrome

I've got a frustrating bug in Safari around CSS animation-delay. This animation works beautifully on Desktop in Chrome, Firefox, IE11, IE10, but I get mixed results in Safari. The pieces of the bag should all display after an equal amount of pause…
Brenda
  • 835
  • 8
  • 11
21
votes
1 answer

"Navigation is blocked" when redirecting from Chrome Custom Tab to Android app

I'm 'modernizing' our login widget to use Chrome Custom Tabs as Google will start blocking OAuth requests using Webviews in a few months. The login widget works with our Identity Service, which supports classic 'username&password' login and Social…
Free Willaert
  • 1,139
  • 4
  • 12
  • 24
18
votes
1 answer

navigator.share not working in mobile browser(chrome v64)

I have been trying to trigger the Intent Share in the Android browser from javascript using the navigator.share. Following is an example code: $("#printTest").click(function(e){ if (navigator.share === undefined){ alert('Undefined!'); …
Gopakumar N G
  • 1,775
  • 1
  • 23
  • 40
15
votes
3 answers

Why doesn't capture="user" change my phone's camera to front facing?

I tried the following attribute capture to set the input element to try to select the front facing camera. user is front facing, and environment is back facing. However, while experimenting with Chrome (latest) on mobile (Pixel 1, latest OS), the…
imagineerThat
  • 5,293
  • 7
  • 42
  • 78
13
votes
2 answers

Disable Chrome mobile's "tap to search" on a web app

I would like to be able to disable, through JavaScript or some sort of HTML meta-tag, the tap-to-search/touch-to-search feature found on mobile Chrome which shows a banner at the bottom of the browser every time the user long presses/taps on a word…
12
votes
5 answers

Mysterious White Space at bottom of Web Page in Mobile-Chrome

I've looked at many "mysterious white-space at bottom of page" issues here on SO, and played with the viewporttag many times, but I still cannot figure out what I'm doing wrong! The page in question is:…
James Anderson Jr.
  • 760
  • 1
  • 8
  • 26
12
votes
1 answer

Mp4 video in html5 video tag not playing in mobile chrome and mobile safari

I have this code to play a video in a html5 page: The problem is that it does not work in mobile chrome (Android Phone) and…
Mario
  • 1,213
  • 2
  • 12
  • 37
11
votes
1 answer

Prevent autohide of address bar on mobile browsers

I am building a website that uses 100vh for each section. However on mobile browsers, this leads to a bad UI as the viewport height increases/decreases with hiding/displaying of the address bar (such as on Chrome). Is there any way to prevent the…
Sanjay George
  • 133
  • 1
  • 2
  • 9
10
votes
5 answers

The same site produces "too many redirects" only via cellular, not via WiFi

I host a small web site at an external host provider. When I open it from my iPhone, I get different results depending on how my iPhone is connected to the internet: When connection is made through WiFi, my page always opens and runs as…
Sergey Kalinichenko
  • 714,442
  • 84
  • 1,110
  • 1,523
10
votes
3 answers

Detect if mobile chrome's Data saving feature is enable from javascript

In mobile chrome on android device, there is a setting called "Data saving" accessible from Settings > Data saving. When enabled the behavior can be slightly different when reading media, especially video: on mobile autoplay videos are prohibited…
Guian
  • 4,563
  • 4
  • 34
  • 54
1
2 3
13 14