I have a captive portal which, as of Android 5.0+ Lollipop, launches in Android’s Captive Portal Browser rather than the device’s default browser. I need to somehow detect if they are in the captive portal browser (as opposed to a regular web browser) and if so, show different content. Is it possible, by examining the User Agent, or through Javascript,