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

Function customLittleTail

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

Source from the content-addressed store, hash-verified

338 }
339 // 自定义小尾巴内容
340 function customLittleTail() {
341 let newLittleTail = prompt('编辑 [自定义小尾巴内容],刷新网页后生效(换行请使用 \\n\n提示①:记得在小尾巴前面加上几个 \\n 换行,用来分隔开回帖内容~\n提示②:建议使用 [align=right] 标签来使小尾巴居右~\n提示③:支持论坛富文本标签(建议先找个回复编辑预览好~\n示例:\\n\\n\\n\\n[align=right]第一行内容~\\n第二行内容~[/align]', GM_getValue('menu_customLittleTail'));
342 if (newLittleTail === '') {
343 GM_setValue('menu_customLittleTail', '');
344 registerMenuCommand(); // 重新注册脚本菜单
345 } else if (newLittleTail != null) {
346 GM_setValue('menu_customLittleTail', newLittleTail);
347 registerMenuCommand(); // 重新注册脚本菜单
348 }
349 };
350 // 回复自定义
351 function replyCustom(type) {
352 switch (type) {

Callers 1

registerMenuCommandFunction · 0.85

Calls 1

registerMenuCommandFunction · 0.70

Tested by

no test coverage detected