From ce8e3069942fc598fa10bb9b4af1b19083510466 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 25 Sep 2013 19:01:08 +0200 Subject: [PATCH] Preventing OS X / iOS captive portal popup altogether --- css/popups.css | 10 ---------- index.html | 3 --- js/main.js | 5 +---- library/test/success.html | 9 +++++++++ 4 files changed, 10 insertions(+), 17 deletions(-) create mode 100644 library/test/success.html diff --git a/css/popups.css b/css/popups.css index ed23a9b..ce17655 100644 --- a/css/popups.css +++ b/css/popups.css @@ -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; } \ No newline at end of file diff --git a/index.html b/index.html index 2fde870..152fe07 100755 --- a/index.html +++ b/index.html @@ -90,9 +90,6 @@ -
diff --git a/js/main.js b/js/main.js index 5e782ce..4fb3299 100644 --- a/js/main.js +++ b/js/main.js @@ -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"); diff --git a/library/test/success.html b/library/test/success.html new file mode 100644 index 0000000..67d95ea --- /dev/null +++ b/library/test/success.html @@ -0,0 +1,9 @@ + + + + Success + + +Success + +