0

我正在尝试创建某种脚本来登录并单击站点上的某个链接。我已经包含了来自主站点的登录脚本,并且想知道是否有人可以告诉我如何在我加载此站点时将我的用户名和密码输入到此代码中,它会自动加载。或者,如果有人可以制作一个可以点击链接的脚本,那就太棒了。

    <table width="100%" cellpadding="0" cellspacing="0" border="0" class="Skin-CustomLoginTable">
<tr>
    <td class="Skin-CustomLoginLeftSide">

    </td>


        <td class="Skin-CustomLoginRightSide">
        <div class="Skin-CustomLoginWrapper">
            <div class="Skin-CustomLoginInnerWrapper">

                <table cellpadding="0" cellspacing="0" class="Skin-CustomLoginFormTable">
                    <tr>
                        <td><label>User Name</label></td>
                        <td><label>Password</label></td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="Skin-CustomLoginInputs" id="LoginUserName"><span id="pageform_CZ1_2_CZ1_0_ctl01_ctl00" style="color:Red;display:none;">This field cannot be left empty.<br /></span><input name="pageform$CZ1$2$CZ1$0$ctl01$UserName" type="text" id="pageform_CZ1_2_CZ1_0_ctl01_UserName" size="35" class="Form-TextField" formID="3bd2a627-4646-4773-bb7a-262216b1e7aa" onkeypress="return(submitFormOnEnterFF('3bd2a627-4646-4773-bb7a-262216b1e7aa', event));" />
                        <td class="Skin-CustomLoginInputs" id="LoginUserPW"><span id="pageform_CZ1_2_CZ1_0_ctl02_ctl00" style="color:Red;display:none;">This field cannot be left empty.<br /></span><input name="pageform$CZ1$2$CZ1$0$ctl02$Password" type="password" id="pageform_CZ1_2_CZ1_0_ctl02_Password" size="35" class="Form-TextField" formID="3bd2a627-4646-4773-bb7a-262216b1e7aa" onkeypress="return(submitFormOnEnterFF('3bd2a627-4646-4773-bb7a-262216b1e7aa', event));" />
                        <td class="Skin-CustomLoginButton" id="LoginButton">

4

1 回答 1

0

你可以试试OpenId 授权。如果您登录到 Google,您将在任何地方都受到欢迎!

于 2013-04-25T08:21:19.193 回答