请教帐号登录的问题
蜗牛爬珠峰 2012-08-15 09:41:45 校园网里访问外网时需要使用自己的帐号登陆先,登录部分源代码如后。
每次开机打开浏览器,都要进入该网页登录。同时,校园网提供了一个windows的可执行文件,可以放在启动里自动登录;但我是linux用户。我想用一个脚本实现开机自动登录,或者是浏览器自动运行的脚本?谁能帮我写写?软件上,网页方面我基本不通。
<div id=div_login class="ui-widget-content ui-corner-all">
<div class="ui-widget-content ui-corner-all" style="background: #EDF8FD">
<span style="line-height:5px;"> </span>
<table cellspacing=4 cellpadding=4>
<tr>
<td style="width:300px; vertical-align:top;align:left;">
<table cellspacing=2 cellpadding=2 style="margin:0 0 0 0; width:100%; line-height:1.5em;">
<form id=form_login name=form_login action="./connect.jsp" method=post>
<input id=duration name=duration type="hidden" value="">
<tr id="tr_info2">
<td colspan=2>
<div class="ui-state-highlight ui-corner-all" style="margin-top: 0px 0 0px 0; padding: 0 .7em;">
<span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<span id=sp_info>请使用您的校园网帐号(信息平台帐号/学生证号)登录</span>
</div>
</td>
</tr>
<tr>
<td align=right width=150px>
帐 号:
</td>
<td>
<input id=userid name=userid value="" style="width:180px; height:25px;">
</td>
</tr>
<tr>
<td align=right>
密 码:
</td>
<td>
<input id=passwd name=passwd type=password value="" style="width:180px; height:25px;">
</td>
</tr>
<tr>
<td colspan=2 align=center>
<input id=saveuid name=saveuid type=checkbox value=1 checked style="border:0px solid #ffffff">保存帐号
<input id=savepsw name=savepsw type=checkbox value=1 checked style="border:0px solid #ffffff">保存密码
<a class=blue_link href="./login.jsp?act=clear">清除记录</a>
</td>
</tr>
<tr>
<td colspan=2 align=center>
<a href="#" id="link_connect" class="ui-state-default ui-corner-all">
建立连接
</a>
</td>
</tr>
</form>
</table>