Skip to content Skip to sidebar Skip to footer

Enable Geolocation For Local Files On Mobile Chrome

I have quite similar question to this one, though concerning Mobile Chrome or any other browser that I can install on Android. I've wrote a simple script using HTML5 geolocation fe

Solution 1:

As per the bug you linked to, geolocation and many other features are disabled for file:// URLs (just as in Chrome desktop). In regular Chrome, you can launch the browser with some useful flags like --allow-file-access-from-files, but no way to enable geolocation without running a local HTTPD.

For mobile Chrome, we are open to suggestions for new developer features. Please log this as a feature request on http://new.mcrbug.com.

Post a Comment for "Enable Geolocation For Local Files On Mobile Chrome"