话不多说,直接上代码
var appElement = document.querySelector'[ng-controller=chatSenderController]'); var $scope = angular.elementappElement).scope); setIntervalfunction){ var nowLocalTime = new Date); var nowTime = nowLocalTime.toLocaleTimeString); var s = nowLocalTime.getSeconds); var h = nowLocalTime.getHours); var m = nowLocalTime.getMinutes) var sh = 17 - h ifsh >= 0){ sh = sh+"小时" }else{ sh = "" } var sm = 60 - m; ifsm == "0"){ sm = "" }else{ sm = sm +"分钟" } var ss = 60 - s ifss == "0"){ ss = "" } else { ss = ss + "秒" } // ifs == "0"){//此为一分钟一次 console.log) $scope.editAreaCtn = "现在是"+nowTime+"距离五一放假还剩" +sh + sm + ss ; $scope.sendTextMessage); // } },1000)
- 登陆网页版微信
- 选择你要轰炸的对象
- 鼠标右键 打开控制台
- 选择console 选项
- 在下方空白处粘贴代码。
- 回车确定
setIntervalfunction){$'.edit_area').html'需要发送的文字'); $".edit_area").trigger$.Event"keydown", { keyCode: 13,ctrlKey: true})); $'.btn_send').click);},3000);
欢迎关注公众号: