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
+13
View File
@@ -0,0 +1,13 @@
(function(){
var likeBtn = document.querySelector('.wi-like-btn');
if (!likeBtn) return JSON.stringify({likeBtn: "not found"});
var likeContainer = likeBtn.closest('.wi-post__like');
return JSON.stringify({
btnClass: likeBtn.className,
btnDisabled: likeBtn.disabled,
containerClass: likeContainer ? likeContainer.className : "none",
text: likeContainer ? likeContainer.textContent.trim() : likeBtn.textContent.trim(),
liked: likeBtn.classList.contains('wi-like-btn--liked') || (likeContainer && likeContainer.classList.contains('wi-post__like--liked')),
svgFill: likeBtn.querySelector('svg') ? getComputedStyle(likeBtn.querySelector('svg')).fill : "none"
});
})()