User’s Manual
HSG Wireless Hotspot Gateway ENGLISH
166
<script language="Javascript">
form.action = getVarFromURL(window.location.href, 'loginurl');
</script>
<INPUT type="text" name="myusername" size="25">
<INPUT type="password" name="mypassword" size="25">
<INPUT name="button_submit" type="submit" value="Enter">
<INPUT name="button_clear" type="button" value="Clear">
</FORM>
The following shows the corresponding self-defined javascript function used to parse the
loginurl
parameter:
function getVarFromURL(url, name) {
if(name == "" || url == "") { return ""; }
name = name.replace(/[\[]/|"\\\[").replace(/[\]]/|"\\\]");
var regObj = new RegExp("[\\?&]"+name+"=([^&#]*)");
var result = regObj.exec(url);
if(result == null) { return ""; }
else { return decodeURIComponent(result[1]); }
}
An external page example that the user will see upon launching a browser, highlighted in red you can see the URL
parameters sent from the system:
Содержание HSG320
Страница 1: ...V1 20 HSG Series Wireless Hotspot Gateway ...
Страница 47: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 42 ...
Страница 64: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 59 ...
Страница 79: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 74 ...
Страница 115: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 110 ...
Страница 147: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 142 Step 9 Restart RADIUS daemon to get your settings activated ...
Страница 150: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 145 ...
Страница 153: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 148 ...
Страница 193: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 188 Connection Status With Indicators ...
Страница 194: ...User s Manual HSG Wireless Hotspot Gateway ENGLISH 189 Shortcut Keys P N V11020141207 ...