优化复制时间戳现实

This commit is contained in:
雨霖铃
2025-11-19 22:30:53 +08:00
parent 1e83988b72
commit a4c331bd8b
+1 -4
View File
@@ -233,13 +233,10 @@ export function handleCopyTimestamp() {
copyTimestampBtn.style.transform = 'scale(1.02)';
setTimeout(() => {
copyTimestampBtn.style.transform = 'scale(1)';
}, 300);
setTimeout(() => {
copyTimestampBtn.textContent = '复制';
copyTimestampBtn.style.color = '';
copyTimestampBtn.style.fontWeight = '';
}, 1000);
}, 300);
// 检查扩展上下文是否仍然有效
if (chrome.runtime && chrome.runtime.sendMessage) {