Topic: hotspotlogin.cgi in iframe open redirect in iframe
I think this is easy to fix- can someone tell me if I'm on the right path? Users complain that on login, their home page is "locked" in the iframe I'm using for the hotspotlogin.cgi script. I'm using SurferTim's multilingual script ( http://www.dd-wrt.com/phpBB2/viewtopic.php?t=16085&highlight=hotspotlogin ).
Looks like this is the section that I need to work with:
if ((result == 12) && (self.name == \"chillispot_popup\")) {
doTime();
if (redirurl) {
opener.location = redirurl;
}
else if (userurl) {
opener.location = userurl;
}
else if (opener.home) {
opener.home();
}
else {
opener.location = \"about:home\";
}
self.focus();
blur = 0;
}
Is there any easy command to use that will force the redirect page to open in a new browser window?