ST QR Collection Importer

SillyTavern QuickReply preset collection importer.

< 脚本 ST QR Collection Importer 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-01-26

EventListener failed to trigger for me. I fixed it by repeatedly checking if the rotating loading icon had disappeared yet (#load-spinner).
Here is the code I used.


//initial loop
var spinnerremoved = false;
var loop = 0;
(async function() {
while(!spinnerremoved){
var spinner = document.getElementById("load-spinner");
if(spinner == null){
spinnerremoved = true;
init();
console.log("finished");
}
await new Promise(r => setTimeout(r, 300));
loop++
console.log("awaited");
}
})();


Try replacing the eventlistener line with this if the button doesn't appear.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址