1document.addEventListener('DOMContentLoaded', () => { 2 const copyButtons = document.querySelectorAll('.single-sns-sidebar .icon-link .copy'); 3 4 copyButtons.forEach(button => { 5 button.addEventListener('click', () => { 6 const url = window.location.href; 7 8 navigator.clipboard.writeText(url).then(() => { 9 const iconLink = button.closest('.icon-link'); 10 if (iconLink) { 11 iconLink.classList.add('is-copy'); 12 13 // ä»»æï¼2ç§å¾ã«ã¯ã©ã¹ãåé¤ 14 setTimeout(() => { 15 iconLink.classList.remove('is-copy'); 16 }, 2000); 17 } 18 }).catch(err => { 19 console.error('ã³ãã¼ã«å¤±æãã¾ãã:', err); 20 }); 21 }); 22 }); 23 24 25 26 27 28 const singleSideSwiper = new Swiper('.single-side-swiper', { 29 autoplay: false, 30 centeredSlides: false, 31 disableOnInteraction: false, 32 freeMode: false, 33 loop: false, 34 slidesPerView: "auto", 35 slidesPerGroup: 1, 36 spaceBetween: 24, 37 navigation: { 38 nextEl: '.swiper-button-next', 39 prevEl: '.swiper-button-prev', 40 }, 41 breakpoints: { 42 780: { 43 slidesPerView: "auto", 44 spaceBetween: 32, 45 slidesPerGroup: 2 46 }, 47 1600: { 48 slidesPerView: "auto", 49 spaceBetween: 36, 50 slidesPerGroup: 2 51 } 52 } 53 }); 54});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.