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

Function replyCustom_3

Hostloc-Enhanced.user.js:396–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

394 }
395 }
396 function replyCustom_3() {
397 let postsubmit = document.getElementById('postsubmit');
398 if (postsubmit && postsubmit.textContent === '\n参与/回复主题\n' || postsubmit && postsubmit.textContent === '\n发表帖子\n') {
399 postsubmit.onclick = function () {
400 if (GM_getValue('menu_customLittleTail')) document.getElementById('e_textarea').value += GM_getValue('menu_customLittleTail').replaceAll('\\n', '\n');
401 }
402 }
403 }
404 }
405 // 监听插入事件(回帖间隔)
406 /*function replyIntervalDOMNodeInserted() {

Callers 1

replyCustomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected