hotspot's status.html is always popup

Hello,

When i login, the hotspot’s status.html is always popup, and I have already set in login.html. I know two places in the login.html, and cleared IE’s cache, cookie etc.

can anybody help me? thanks a lot!

Are you certain that page you modified is being used? When you get the login.html page displayed, select “view page source” or whatever your web browser asks, and see if that popup tag is set to false.

The only other place I see any reference to the status page is in “/ip hotspot user profile”.

I checked the “login.html” page, it should be no problem.
At the “/ip hotspot user profile” I saw “always” and “http login”.

I set “/ip hotspot user profile” open status page = http login, when i use my android_phone to login.
the status page popup again. on the computer the status page is not popup. amaze

I have a new idea, that I want to delete the “status.html” from hotspot folder.

not to do that

This problem is still bothering me. Can anybody help me?

You search on wrong pages, the page are: alogin.html
search:

        open('$(link-status)', 'hotspot_status', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=290,height=200');

replace with:

//        open('$(link-status)', 'hotspot_status', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=290,height=200');

If I have helped you, please remember to add Karma :slight_smile:

hotspot’s status page only popup at mobile phone’s explorer for example android, iphone etc.

I edit the alogin.html, and delete the body label onload() Function ,but the status page is still popup.

You probably modify wrong alogin.html page.

Have you read my post before?

after I saw your post, I noticed the function and modified them.

But I did not understand your code, sorry.
Would you speak me clearly? thanks a lot !!

do not remove onload,

go on previous line and you found “open(‘$(link-status)’…”

simply put “//” at the start of the line where “open(‘$(link-status)’…” is

<script language="JavaScript">
<!--
    function startClock() {
        $(if popup == 'true')
        open('$(link-status)', 'hotspot_status', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=290,height=200');
	$(endif)
	location.href = '$(link-redirect)';
    }
//-->
</script>
</head>
<body onLoad="startClock()">

where do I modify it?



simply put “//” at the start of the line where “open(‘$(link-status)’…” is

No, it didn’t. I don’t know why.

When I modified the “alogin.html”, I feel it does not work,

no matter how,I modified.

It appears to be the login.html page you need to modify. There are two places that must be changed to insure no popup status page.
You must change to false.

Here if you use “login-by=http-chap”:

$(if chap-id)
	<form name="sendin" action="$(link-login-only)" method="post">
		<input type="hidden" name="username" />
		<input type="hidden" name="password" />
		<input type="hidden" name="dst" value="$(link-orig)" />
		<input type="hidden" name="popup" value="false" />
	</form>

Others use this:

					<form name="login" action="$(link-login-only)" method="post"
					    $(if chap-id) onSubmit="return doLogin()" $(endif)>
						<input type="hidden" name="dst" value="$(link-orig)">
						<input type="hidden" name="popup" value="false">

I have not tried it, so no guarantee.

edit: I just tried it, and it works here with v6.9. Change it to “false” and no status popup. To verify it has been changed, select “view source” on the login.html page.

I have not tried it what you told me. But I think that I can not see the html’s souce code on the mobile phone.
eg. Andorid etc.

Is a mobile phone the only device you have? It doesn’t matter if a cellphone or a laptop. Try it with a laptop and view the source. If the page has popup set to false, then it should be false for every device that loads the login.html page.

the login page has popup set to false;
the ip>hotspot> server profile login by"http-chap", “cookie”
the ip>hotspot>user profile open status page set to always
the alogin.html onload function was modfied (noted) “//”

All I have done, but the status page always popup .my god!

I tried it again with IE and Chrome. Both respond correctly.
If popup is true, you get a status.html popup.
If popup is false, you don’t.

RB433AH ROS V6.9
I have “login-by=http-chap”.

Insure you are modifying the correct file.
hotspot/login.html

Did you do the “view source” as I suggested? Does it show the popup hidden input as false in both places?

Does it display the popup when you use the cookie to login or with the login page too?

edit: The method rextended recommended blocks both http-chap and cookie popups without modifying the login.html page. I just tested it with both the login page and cookie login. Nice!

There are no problem with IE and Chrome. I can set them to popup status and not.

No matter how I set, the status page only popup on the android system, It has just inconvenience to users, Android system’s explorer is not easy to operate. Users do not know how to operate at the status page popup. Not easy to close this page.