var confirmation = confirm("Are you sure you want to unfollow all users on Twitter?");
if (confirmation) { alert("Refresh the page when you want to stop!");
alert("It is advised that you do not unfollow large quantities of users in one day, according to the twitter guidelines. Use with caution. Cheers!"); setInterval(function() { var inputs = document.getElementsByClassName('button-text unfollow-text'); for (var i = 0; i < inputs.length; i++) {
inputs[i].click();
//Change the class name avoid double clicking
inputs[i].className = "Degisti"
} window.scrollTo(document.body.scrollWidth, document.body.scrollHeight); }, 1500);
}
if (confirmation) { alert("Refresh the page when you want to stop!");
alert("It is advised that you do not unfollow large quantities of users in one day, according to the twitter guidelines. Use with caution. Cheers!"); setInterval(function() { var inputs = document.getElementsByClassName('button-text unfollow-text'); for (var i = 0; i < inputs.length; i++) {
inputs[i].click();
//Change the class name avoid double clicking
inputs[i].className = "Degisti"
} window.scrollTo(document.body.scrollWidth, document.body.scrollHeight); }, 1500);
}
解决方案 »
- 查询页面 点查询按钮 整个页面刷新 还是只刷新结果列表?
- 帮我将下面js函数改为asp函数
- 请教如何实现不同版本Jquery并存
- js undefined
- 急啊,各位大侠!!输入框中有用户删除不掉的字符如何实现??
- JavaScript的问题:封装在类里面的Ajax,如何设置onreadystatechange事件的处理函数?
- 誰能解釋一下這個正則里的\2是什麽意思
- JavaScript正则去除HTML部分标签
- xmlhttp和javascript结合的问题
- jquery的绑定函数
- webpack 怎么配置 公共的header.html 和 footer.html
- 各位前端大神,问一个弹窗滑动的问题!!
EdgeButton
EdgeButton--danger
EdgeButton--small
button-text
unfollow-text">
<span aria-hidden="true">Unfollow</span>
<span class="u-hiddenVisually">Unfollow <span class="username u-dir u-textTruncate" dir="ltr">@<b>WenhuanWu</b></span></span>
</button>