console前端代码自动删除QQ空间我的说说

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了console前端代码自动删除QQ空间我的说说相关的知识,希望对你有一定的参考价值。

  1. function del() {
  2. if(document.querySelector(‘.app_canvas_frame‘).contentDocument.querySelector(‘.del_btn‘) == null){
  3. var index = document.querySelector(‘.app_canvas_frame‘).contentDocument.querySelector(".mod_pagenav_main").querySelector(".current").innerText;
  4. document.querySelector(‘.app_canvas_frame‘).contentDocument.querySelector(‘.mod_pagenav_option‘).querySelector("input").value = (parseInt(index)+1);
  5. document.querySelector(‘.app_canvas_frame‘).contentDocument.querySelector(‘.mod_pagenav_turn‘).querySelector("button").click();
  6. setTimeout("del()", 3000);
  7. }else{
  8. document.querySelector(‘.app_canvas_frame‘).contentDocument.querySelector(‘.del_btn‘).click();
  9. setTimeout("yes()", 1000);
  10. }
  11. }
  12. function yes() {
  13. document.querySelector(‘.qz_dialog_layer_btn‘).click();
  14. setTimeout("del()", 1000);
  15. }
  16. del();

打开QQ空间,到我的说说下
技术分享

打开控制台
输入上述代码回车 会自动一直删除状态

不过好像 有检测到要是一直删 会要验证码输入。







以上是关于console前端代码自动删除QQ空间我的说说的主要内容,如果未能解决你的问题,请参考以下文章