chrome-for-android

How can I force a hard reload in Chrome for Android

六眼飞鱼酱① 提交于 2020-03-17 03:44:26
问题 In Chrome for desktop I have options in the dev tools to disable cache completely when dev tools are opened and I have the options to manually do a hard reload when long clicking on the reload button (with dev tools open). Is there any such technique for Chrome for Android? I didn't find any setting. What can I do when I want to force the browser to download some javascript or css file instead of using a cached one when developing? 回答1: I'm using window.location.reload(true) according to MDN

How can I force a hard reload in Chrome for Android

谁说胖子不能爱 提交于 2020-03-17 03:44:02
问题 In Chrome for desktop I have options in the dev tools to disable cache completely when dev tools are opened and I have the options to manually do a hard reload when long clicking on the reload button (with dev tools open). Is there any such technique for Chrome for Android? I didn't find any setting. What can I do when I want to force the browser to download some javascript or css file instead of using a cached one when developing? 回答1: I'm using window.location.reload(true) according to MDN

Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0

风流意气都作罢 提交于 2019-12-09 23:51:57
问题 I have simple page with a webm video with transparent background. It works well on desktop. It works well on Chrome for Android version 66 on my android phone running android 9.0 too. But after upgrading to Chrome for Android version 68, the video displays solid background color. I checked the console and no error or warning found. Chrome 66: ]2]2 Chrome 68: I tested on Chrome for Android version 68 on other phones which running Android 7 and it works well. Does anyone know why this happens

Position fixed on Chrome mobile causing issues when scrolling

谁都会走 提交于 2019-12-06 03:17:31
问题 I've been researching this issue for the past hour and saw similar questions but I'm not sure they are the same exact problem. Probably related, somehow, but none of the answers helped me fixed my issue. Take the following code: <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> html, body { height: 100%; margin: 0; } main { background-color: orange; height: 1500px; margin: 50px; } footer { background-color: green; position: fixed; height: 50px; left:

Transparent webm video displays solid background color on Chrome for Android 68 on android 9.0

核能气质少年 提交于 2019-12-04 19:36:50
I have simple page with a webm video with transparent background. It works well on desktop. It works well on Chrome for Android version 66 on my android phone running android 9.0 too. But after upgrading to Chrome for Android version 68, the video displays solid background color. I checked the console and no error or warning found. Chrome 66: ] 2 ] 2 Chrome 68: I tested on Chrome for Android version 68 on other phones which running Android 7 and it works well. Does anyone know why this happens that and how to resolve it? I had a similar problem when webm was converted with VP8 codec. I fixed

Using window.print() or alternative on Android devices

懵懂的女人 提交于 2019-11-28 10:10:32
On Android devices (I have tested Nexus 5, Nexus 10, Galaxy S4 and Galaxy Tab 3), the window.print() command in JavaScript doesn't do anything. As far as I can tell it doesn't even register an error. I know for a fact that most if not all of these browsers can print because you can use mobile Chrome's menu to choose "print". Why doesn't window.print() trigger the behavior you would expect (opening the clients print menu)? And is there an Android alternative to window.print() ? It is clearly stated in this Documentation , " The command is supported on iOS, Chrome on Windows and Safari and

Using window.print() or alternative on Android devices

℡╲_俬逩灬. 提交于 2019-11-27 03:23:26
问题 On Android devices (I have tested Nexus 5, Nexus 10, Galaxy S4 and Galaxy Tab 3), the window.print() command in JavaScript doesn't do anything. As far as I can tell it doesn't even register an error. I know for a fact that most if not all of these browsers can print because you can use mobile Chrome's menu to choose "print". Why doesn't window.print() trigger the behavior you would expect (opening the clients print menu)? And is there an Android alternative to window.print() ? 回答1: It is