阅读:1304回复:1
【已解决】64版本下快捷回复脚本失效了,麻烦修复下!
64版本下快捷回复脚本失效了,麻烦修复下!谢谢了
//快捷回复 new function(){ var items = [ { label: "当前日期 & 时间", condition: "input", position: 2, oncommand: function() { var localnow = new Date(); var yy = localnow.getFullYear(); var mm = localnow.getMonth()+1; if(mm < 10) mm = '0' + mm; var dd = localnow.getDate(); if(dd < 10) dd = '0' + dd; var hh = localnow.getHours(); if(hh < 10) hh = '0' + hh; var mi = localnow.getMinutes(); if(mi < 10) mi = '0' + mi; var localnowstr = '【' + yy + '.' + mm + '.' + dd + ' & ' + hh + ':' + mi + '】'; addMenu.copy(localnowstr); goDoCommand("cmd_paste");}, image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADASURBVDhPtZPNCYQwEIVTi/V4yE0I5ObVElKBhdhAzmIDKcACUsfbvGEM7G4WNqz7YJifzPuMguYWWWv3EuiMXe0CgHMO2hrWrdBjOadH25sA8zx3xRtAy6/1H0DOGSEEjOOIdV3rAmvOYox11gSklMSoiziOA9u2YRgGyZyd5ym7TcAlgkoC88ttBMriI0AXqqkLoNerS9SyLPDeg9+ntHIrzpsAfVINgq7XYRBWsqgJ6NGTZ5qm7p+JHrX/ImMenDoO+LcxQdwAAAAASUVORK5CYII=" }, {label:"Outlook~~~",input_text: "xxxxxx@outlook.com",accesskey: "1",image:" "}, {label:"Gmail~~~",input_text: "xxxxxx@gmail.com",accesskey: "2",image:" "}, {label:"xxxxxx",input_text: "xxxxxx@outlook.com",accesskey: "3",image:" "}, {}, {label:"数字补丁.exe", input_text: "<span style="color:White">数字补丁.exe</span>",accesskey: "H",image:" "}, {label:"谢谢你的解答~~~", input_text: "非常感谢您的解答!!!",accesskey: "T",image:" "}, {label:"亲,要的就是~~~", input_text: "亲,要的就是这个,非常感谢!!!",accesskey: "D",image:" "}, {label:"不用客气~~~", input_text: "不用客气,大家互相帮助……\n\u256E\uFF08\u256F\u25C7\u2570\uFF09\u256D",accesskey: "Y",image:" "}, {label:"看起来很不错~~~", input_text: "看起来很不错哦,收藏备用~~~\n谢谢LZ啦!!!",accesskey: "G",image:" "}, {label:"谢谢楼主分享~~~", input_text: "谢谢楼主的分享!这个绝对要顶!!!",accesskey: "F",image:" "}, {label:"楼上正解~~~", input_text: "楼上正解……\u0285\uFF08\u00B4\u25D4\u0C6A\u25D4\uFF09\u0283",accesskey: "R",image:" "}, {label:"坐等楼下解答~~~", input_text: "坐等楼下高手解答~~~⊙_⊙",accesskey: "V",image:" "}, {}, {label:"这个要支持~~~", input_text: "很好、很强大,这个一定得支持!!!",accesskey: "A",image:" "}, {label:"不明真相的~~~", input_text: "不明真相的围观群众~~~\u0285\uFF08\u00B4\u25D4\u0C6A\u25D4\uFF09\u0283",accesskey: "S",image:" "}, {label:"没图没真相~~~", input_text: "没图没真相,纯支持下了~~~",accesskey: "C",image:" "}, {label:"不明觉厉~~~", input_text: "虽然不知道LZ在说什么但是感觉很厉害的样子\n\u2606\u002E\u3002\u002E\u003A\u002A\u0028\u563F\u00B4\u0414\uFF40\u563F\u0029\u002E\u3002\u002E\u003A\u002A\u2606",accesskey: "B",image:" "}, {label:"嘿嘿~~~", input_text: "\u2606\u002E\u3002\u002E\u003A\u002A\u0028\u563F\u00B4\u0414\uFF40\u563F\u0029\u002E\u3002\u002E\u003A\u002A\u2606",accesskey: "X",image:" "} ]; var menu = PageMenu({ label:"快速回复...", condition:"input", accesskey: "W", position: 1, image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7UlEQVQ4jbWS0Y2EMAxEUwIl8GlpXiSXQAlbwpVAB5RACZRACZRACSmBEvZ+nBPLaoGPPUuRosQez4yd0n+FmbU55wfQmVl7q8jdG2AAtjhLnA14AsNpR2AFFkl+/JfkkiZgfWMUnZec83jFEhgklSN6D8zu3tyRCswvcoA55/y4U5xSSmHuvGdQzKwNKWtFj05r5Pzpj7xtz2AFuvh4Sprqu6Ti7k0AbGbWSvIKXCmNnwzc+1LvwPCSHyPcgO5Kf4yzvI0a6CrFM/MklY+GB3If2zhI+pHU55zHsyU7ApQdwFRnXk2+1Hd3mb4WvyyoZJEMizeNAAAAAElFTkSuQmCC", oncommand: function(event){ var input_text = event.target.getAttribute('input_text'); if(input_text) { addMenu.copy(input_text); goDoCommand("cmd_paste"); } } }); menu(items); };是我自己的原因,已修复。 AddMenuPlus.uc这个脚本给改了,现在恢复原来的,就好了 |
|
1楼#
发布于:2018-12-24 14:37
恢复就好
|
|
|