first commit

This commit is contained in:
nxxy335top
2026-05-18 17:29:18 +08:00
parent e85fbd62f4
commit a0c64736eb
119 changed files with 13527 additions and 1228 deletions
+16
View File
@@ -0,0 +1,16 @@
(function(){
var btn = document.querySelector('.wi-like-btn');
if (!btn) return "no btn";
btn.click();
return new Promise(function(resolve){
setTimeout(function(){
var container = btn.closest('.wi-post__like');
resolve(JSON.stringify({
btnClass: btn.className,
btnDisabled: btn.disabled,
text: container ? container.textContent.trim() : btn.textContent.trim(),
liked: btn.classList.contains('wi-like-btn--liked')
}));
}, 2000);
});
})()