document.querySelectorAll(‘li’).forEach(function(li) { const chapterReleaseDates = li.querySelectorAll(‘.chapter-release-date’); if (chapterReleaseDates.length > 1) { chapterReleaseDates.forEach(function(date) { if (date.classList.contains(‘salmon’)) { date.style.display = ‘none’; } }); } });Continue reading
document.addEventListener(“DOMContentLoaded”, function() { var bookingBtn = document.querySelector(“.o-header__booking-btns a[href=’https://hwc.wuyuanweb.com/reservation/’]”); if (bookingBtn) { bookingBtn.href = “https://new.link/reservation/”; // 將此處更改為新連結 } var remoteConsultationBtn = document.querySelector(“.o-header__booking-btns a[href=’https://hwc.wuyuanweb.com/remote-consultation/’]”); if (remoteConsultationBtn) { remoteConsultationBtn.href = “https://new.link/remote-consultation/”; // 將此處更改為新連結 } });Continue reading