MCPcopy Create free account
hub / github.com/XIU2/UserScript / writeReply

Function writeReply

3dm-Enhanced.user.js:222–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220
221 // 写入自动回复内容
222 function writeReply(){
223 let textarea = document.getElementById('fastpostmessage');
224 if (textarea){
225 textarea.value = textarea.value + replyList[Math.floor((Math.random()*replyList.length))] + replyList[Math.floor((Math.random()*replyList.length))];
226 let fastpostsubmit = document.getElementById('fastpostsubmit');
227 if (fastpostsubmit){
228 fastpostsubmit.click();
229 }
230 }
231 }
232
233
234 // 清理置顶帖子

Callers 1

autoReplyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected