Preventing OS X / iOS captive portal popup altogether

This commit is contained in:
peteruithoven 2013-09-25 19:01:08 +02:00
parent 80b4a53d5a
commit ce8e306994
4 changed files with 10 additions and 17 deletions

View File

@ -71,14 +71,4 @@
background: url('../img/buttons/btnOk_settings.png') no-repeat;
margin: 0 0 0 10px;
cursor: pointer;
}
#portalpopup {
width: 400px;
height: 200px;
margin: -100px 0 0 -200px;
}
#portalpopup p{
margin: 1em;
}

View File

@ -90,9 +90,6 @@
</div>
</div>
</div>
<div id="portalpopup" class="popup">
<p>Hi, <a href="http://draw.doodle3d.com">start doodling!</a></p>
</div>
</div>
</div>
<div id="portrait">

View File

@ -49,10 +49,6 @@ $(function() {
settingsWindow.init(wifiboxURL);
$(document).on(SettingsWindow.SETTINGS_LOADED,settingsLoaded);
if(window.toolbar.visible == false) {
$("#contentOverlay").css("display","block");
$("#portalpopup").css("display","block");
}
if(debugMode) {
console.log("debug mode is true");
$("body").css("overflow", "auto");
@ -83,6 +79,7 @@ $(function() {
}, 1000);
//*/
}
})
function settingsLoaded() {
console.log("settingsLoaded");

View File

@ -0,0 +1,9 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Success</TITLE>
</HEAD>
<BODY>
Success
</BODY>
</HTML>