微信聊天代码轰炸

话不多说,直接上代码

var appElement = document.querySelector('[ng-controller=chatSenderController]');
var $scope = angular.element(appElement).scope();
setInterval(function(){
    var nowLocalTime = new Date();
    var nowTime = nowLocalTime.toLocaleTimeString();
    var s = nowLocalTime.getSeconds();
    var h = nowLocalTime.getHours();
    var m = nowLocalTime.getMinutes()
     var sh = 17 - h 

     if(sh >= 0){
        sh = sh+"小时"
     }else{
        sh = ""
     }
     var sm = 60 - m;
     if(sm == "0"){
        sm = ""
     }else{
        sm = sm +"分钟"
     }
     var ss = 60 - s 

     if(ss == "0"){
        ss = ""
     } else {
        ss = ss + "秒"
     }
    // if(s == "0"){//此为一分钟一次
        console.log()
        $scope.editAreaCtn = "现在是"+nowTime+"距离五一放假还剩" +sh + sm + ss ;
        $scope.sendTextMessage();
    // }
},1000)
  1. 登陆网页版微信
  2. 选择你要轰炸的对象
  3. 鼠标右键 打开控制台
  4. 选择console 选项
  5. 在下方空白处粘贴代码。
  6. 回车确定

setInterval(function(){$('.edit_area').html('需要发送的文字');
$(".edit_area").trigger($.Event("keydown", { keyCode: 13,ctrlKey: true}));
$('.btn_send').click();},3000);

 

posted @ 2020-04-16 14:25  .why  阅读(33138)  评论(0编辑  收藏  举报
Live2D