简体   繁体   中英

How to redirect to default browser from captive portal (cna browser)

So, i have to redirect user from captive portal to browser, cause captive portal doesnt support japascript and cookies correctly. How anyone an idea? Thank you very much

Android: just use a tag with href= intent://yourUrl.com#Intent;scheme=http;end

Ios: After opening captive portal just open access to

  • gsp1.apple.com *.akamaitechnologies.com www.apple.com apple.com www.appleiphonecell.com *.apple.com www.itools.info www.ibook.info www.airport.us www.thinkdifferent.us *.apple.com.edgekey.net *.akamaiedge.net *.akamaitechnologies.com

This url's have to return this answer:

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>Success</TITLE> </HEAD> <BODY> Success </BODY> </HTML> 

Important: you have to give access to this url's after opening captive portal. So after giving answer to this urls, any link will go to safari or default browser.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM