javascript批量输入表单

void((function(){
x=document.getElementsByTagName("a");
y = x[1]
y.click()

})())

void((function(){
document.getElementById("name").value = 'hacker';
document.getElementById("email").value = Math.random()  + "@example.com";
x=document.getElementsByTagName("input");
y = x[5]
y.value='x@x.com'
document.getElementById("t1").click();
})())

void((function(){
x=document.getElementById("togoA");
x.click()
})())
--- --- --- --- From 小小leo 的博客 --- --- --- ---
原文地址:https://www.cnblogs.com/xiaoxiaoleo/p/5796483.html