This commit is contained in:
ParticleG
2024-11-02 17:45:27 +08:00
parent 785935d26f
commit 17a8181822

View File

@@ -26,11 +26,7 @@ while true do
JS.stringFunc[[ JS.stringFunc[[
window.navigator.clipboard window.navigator.clipboard
.readText() .readText()
.then((text) => _$_(text)) .then((text) => _$_(text));
.catch((e) => {
console.warn(e);
_$_('');
});
]], ]],
function(data) function(data)
while getCHN:getCount()>0 do getCHN:pop() end while getCHN:getCount()>0 do getCHN:pop() end