软著申请-提交页面一直提示人数较多的解决办法!!
- 非法途径当然是没有的啦~
- 但是,作为一名程序员,学会使用代码来解放双手很重要的喔!
- 废话不多说,上代码:
setInterval(function() {
const myButton = document.querySelector("#app > div.account_container > div > div.account_right > div.account_right_list > div.account_list > ul.account_list_content.opus_query.g_clearfix.soft_register > li:nth-child(1) > div.option > button:nth-child(2)");
const clickEvent = new Event("click");
myButton.dispatchEvent(clickEvent);
setTimeout(function() {
const myButton1 = document.querySelector("body > div.carousel.carouselFixed > div > div > div.hd-msg-box-footer > button.hd-btn.blue.medium");
myButton1.dispatchEvent(clickEvent);
}, 500);
}, 10000);
- 上述代码直接复制到浏览器开发者模式的控制台,回车即可;
- 代码的逻辑:根据页面上的元素,使用选择器定位到按钮,间隔一定时间触发一次点击提交操作;
- 建议选择早晚非正常工作时间操作;