function copyToClipboard(t) {
if (window.clipboardData && window.clipboardData.setData) return clipboardData.setData("Text", t);
if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var e = document.createElement("textarea");
e.textContent = t, e.style.position = "fixed", document.body.appendChild(e), e.select();
try {
return document.execCommand("copy")
} catch (t) {
return console.warn("Copy to clipboard failed.", t), !1
} finally {
document.body.removeChild(e)
}
}
}
日历
2025年十一月 一 二 三 四 五 六 日 « 9月 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -
近期文章
分类目录
friend
-