The Portal authentication page is automatically ejected by using captive.apple.com to reach the SSID signal connected to WiFi.
The hint will not pop up after the whitelist captive.apple.com.
However, one-click focus on the page is not allowed to jump to the cloud or other pages for certification, almost give you no opportunity to break off the WiFi. Always show cancel. Do we have a way to turn the cancellation into completion?
Of course the answer is yes.
Start by writing a portal authentication page that automatically connects all data to the IP that the device is connected to.
Auto (); Automatically login to a number function auto () {var str_a= "auth.asp?usr=15336500020&pwd=15336500021"; var data_str_a=encodetogb2312 ( STR_A); $.ajax ({type: "GET", Url:data_str_a,success:post_fun_a (), Error:null,timeout:10000,datatype: "Jsonp", Cache: False}); function Post_fun_a () {}
This way, the portal for Apple iOS will be completed by canceling
Next, after a delay of 10 seconds, we will disconnect this account and give the button a focus on the CSS style changes to a usable state (the script builds itself)
SetTimeout (function () {Close ()}, "10000"), function Close () { ///Next we break this number var str_c= "Userinfo.asp?opt=down&u =15336500020&i=<?php echo $i;? >&_=1452669615595 "; var data_str_c=encodetogb2312 (str_c); $.ajax ({type:" GET ", Url:data_str_c,success:post_ Fun_c (), Error:null,timeout:10000,datatype: "Jsonp", Cache:false});} function Post_fun_c () {}
So do we just disconnect the network from the account that's currently logged in?
The Wi-Fi status of Apple iOS is normal. Communication with the router is also normal, except that the router can not properly control the Internet service. If you want to continue the Internet, you have to follow the cue point "one button attention" or other people authentication service.
function Tijiao () { //One key concerns start var str_b= "auth.asp?usr=15336500025&pwd=15336500026"; var data_str_b= encodeToGB2312 (Str_b); $.ajax ({type: "GET", Url:data_str_b,success:post_fun_b (), Error:null,timeout:10000,datatype : "Jsonp", Cache:false});} function Post_fun_b () {} //part slightly
Did you see that? normal service account I used another number.
I'm going to have to suggest how the variable I came in.
From previous page to jump over, url address parameter
<?phpif (isset ($_request[' i ')) {$i = $_request[' i '];} else{$i = "You are an illegal user!"; >
Well, the code for the jump page HTM also complements it.