我需要一项任务的帮助,该任务可以显示这个隐藏的按钮,该按钮将跳过一个问题(该网站是 membean)我已经安装了 greasemonkey 并尝试过
document.getElementById(“pass”).className = ”visible”;
但这没有用。这是 HTML
<input class="hidden" id="pass" onclick="this.origText = this.value; this.value='Wait...'; that = this; setTimeout(function() {that.value = that.origText}, 15000);" type="submit" value="Pass" />
有人可以帮忙吗?
最佳答案
你的报价似乎不对。而不是
document.getElementById(“pass”).className = ”visible”;
尝试
document.getElementById("pass").className = "visible";
关于JavaScript 代码为 "exploit"这个漏洞是我 friend 发现的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29712997/