Shaun Member Licensed User Longtime User Aug 30, 2013 #1 I am making a web browser for my app. I want the user to be able to just type: www.google.com instead of forcing them to type http://www.google.com. I can add the 'http://' prefix easily enough, but I need a way to detect whether a webpage is secure or not. That way I can determine the correct prefix to add. Example: 'https://www.google.com'. I will be using the app for work and most of our web based utilities are on secure pages. How can I determine whether a webpage is secure or not with webview, webviewsettings or webviewextras libraries? Any hint is appreciated. Thanks!
I am making a web browser for my app. I want the user to be able to just type: www.google.com instead of forcing them to type http://www.google.com. I can add the 'http://' prefix easily enough, but I need a way to detect whether a webpage is secure or not. That way I can determine the correct prefix to add. Example: 'https://www.google.com'. I will be using the app for work and most of our web based utilities are on secure pages. How can I determine whether a webpage is secure or not with webview, webviewsettings or webviewextras libraries? Any hint is appreciated. Thanks!
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2013 #2 I don't think that this information is available in any way. Most sites redirect the browser to the https link. Upvote 0
I don't think that this information is available in any way. Most sites redirect the browser to the https link.