框架更新

This commit is contained in:
技术老胡
2024-10-19 09:46:48 +08:00
parent eb649b402f
commit 502f2f4dc1
496 changed files with 83120 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
document.addEventListener('DOMContentLoaded', function() {
let prev = null;
Array.from(document.getElementsByTagName('article')).reverse().forEach(function (article) {
const dedupId = article.dataset.dedupId;
if (dedupId === prev) {
article.getElementsByTagName('header')[0].classList.add('hidden');
}
prev = dedupId;
});
});