Hi,
Do you have an example code of how I can do that? But my question was that I want to get the CURRENT address or webpage the user is on, not figure out if it's online or not.
Thank you Erel. I'm not sure though why this wouldn't work with some devices.
I have also tried coming up with another way, this time I check if any browser is running in the foreground, and if it is could I get the tab title at least. Is that possible?
Hi Erel, I have tried testing this code again, and I got it working finally! But it only seems this would work on Chrome. Previously I had the Chrome app disabled which is why it kept giving me that crash. So right now I am using Firefox, is there anyway I can get this to work with Firefox?