Chrome mobile, Navigation is blocked when redirecting to SMS
I'm trying to open the SMS outbox when the user lands on a page. It does work on the Android stock browser and Firefox, but not on Chrome (it only works if they click on a link). I'm getting the "Navigation is blocked" error, without any further explanation: I've tried with window.location.href, location.href, window.location, with setTimeout... but nothing. Do you know any way to achieve this?
I have the same problem, it seems that Chrome is blocking some request that are called using "window.location" when these calls have variables. As a workaround, try creating an anchor, set the href attribute and click it (programatically). var a = document.createElement('a'); a.setAttribute('href',desiredLink); //<-- this is the URL document.body.appendChild(a); a.click();
Android App Closes on creation?
GridLayout spitting out “inconsistent constraint” debug-level logs
Android DB: Merging Two Databases Using SQL Dumps
Questio about AdMob ad url to application
trouble importing android-remote-stacktrace
ADT rev20 - apps don't install on any AVD
View will get twice at onItemClick
downloading xml from ftp in android
Notification upon ended parsing of web response
How to transfer “data” between two device (android,iphone)?
write spinner selected value to database
Using AsyncTask to download an XML file
Screen resolution / Physical size
android - showDialog(); error
linux joining multicast group setsockopt returns errno 19 device not found
Foreign keys in android 2.2 and higher