Publish reviewed history-free open-source snapshot (2026-10-12)

This commit is contained in:
Zonghengjia Open Source
2026-10-11 23:23:20 +00:00
commit 901f27baf5
301 changed files with 32378 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/* Subscription URLs are credentials: no logging, analytics or network calls. */
document.querySelectorAll('[data-copy-target]').forEach(function (button) {
button.addEventListener('click', async function () {
const input = document.getElementById(button.dataset.copyTarget);
const feedback = document.getElementById('copy-feedback');
if (!input) return;
try {
await navigator.clipboard.writeText(input.value);
if (feedback) feedback.textContent = '已复制订阅地址,请勿转发给他人。';
} catch (_) {
input.focus();
input.select();
if (feedback) feedback.textContent = '浏览器未允许自动复制,已选中地址,请手动复制。';
}
});
});