微信如何定时发送消息

2024-10-24 22:24:08

1、百度搜索“微信网页版”

微信如何定时发送消息微信如何定时发送消息

4、打开浏览器开发者人员工具。1.火狐浏览器可通过右键->查看元素->选择“控制台";2.360极速浏览器可通过右键->审查元素->稆糨孝汶;选择“Console”其他浏览器类似,不一一举例

微信如何定时发送消息

5、在控制台下光标闪烁处粘贴以下代码,并回车。该代码的作用是每分钟发送一个报时消息,可以任意修改output的内容和发送时间。var appElement = document.querySelector('[ng-controller=chatSenderController]');var $scope = angular.element(appElement).scope();setInterval(function(){ var now= new Date(); var date=now.getDate(); var hour = now.getHours(); var min = now.getMinutes(); var second = now.getSeconds(); if(second == 0 ){ var output = "【准分报时】现在是北京时间:"+hour+"时"+min +"分" + second +"秒" $scope.editAreaCtn = output; $scope.sendTextMessage(); } },1000);

微信如何定时发送消息微信如何定时发送消息

8、利用该方法可以实现很多有趣的功能,更多的功能等你们去发掘哦。有不明白的可以向我提问。请注意非法使用,请用于正确的事情上去!

猜你喜欢