网页源码是~~~~
<td width="50%" valign="top">
<h2 style="color: black">Choose your new plan</h2>
<span style="line-height: 150%">
<input type="radio" name="planTag" value="linode1024.4" id="linode1024.4"><label for="linode1024.4">Linode 1024</label><br>
<input type="radio" name="planTag" value="linode2048.4" id="linode2048.4" disabled><label for="linode2048.4"><strike>Linode 2048</strike></label> (current plan)<br>
<input type="radio" name="planTag" value="linode4096.4" id="linode4096.4"><label for="linode4096.4">Linode 4096</label><br>
<input type="radio" name="planTag" value="linode8192.4" id="linode8192.4"><label for="linode8192.4">Linode 8192</label><br>
<input type="radio" name="planTag" value="linode16384.4" id="linode16384.4"><label for="linode16384.4">Linode 16384</label><br>
<input type="radio" name="planTag" value="linode32768.4" id="linode32768.4"><label for="linode32768.4">Linode 32768</label><br>
<input type="radio" name="planTag" value="linode49152.4" id="linode49152.4"><label for="linode49152.4">Linode 49152</label><br>
<input type="radio" name="planTag" value="linode65536.4" id="linode65536.4"><label for="linode65536.4">Linode 65536</label><br>
<input type="radio" name="planTag" value="linode98304.4" id="linode98304.4"><label for="linode98304.4">Linode 98304</label><br>
</span>
<br>
<input type="submit" class="button" name="doit" value="Resize this Linode Now!" onClick="return confirm('Immediately shut down, migrate your Linode, and invoice this account for the difference?')">
</td>
需要选中 <input type="radio" name="planTag" value="linode2048.4" id="linode2048.4" disabled>
然后 <input type="submit" class="button" name="doit" value="Resize this Linode Now!" onClick="return confirm('Immediately shut down, migrate your Linode, and invoice this account for the difference?')">
然后对话框提示 onClick="return confirm('Immediately shut down, migrate your Linode, and invoice this account for the difference? 要点确认~~
重复以上步骤直到刷出来~~~
参考脚本如下,肯定是错误的,不知道怎么修改成正确的~~求大大指点。
谢谢!
// ==UserScript==
// @
name UP Linode Tokyo
// @
namespace UP Linode Tokyo
// @
description UP Linode Tokyo
// @
match https://manager.linode.com/linodes/resize/****// @
version 0.1
// @
copyright 2015, v2ex
// ==/UserScript==
function YTFunc() {
try {
document.getElementById('linode2048.4').checked = true;
document.getElementById('Resize').submit()
}
catch (e) { }
}
window.setTimeout(YTFunc, 3000);
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/191433
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.