PageSourceSearch

https://www.kotostyle.co.jp/js/wp_article.js

js kotostyle.co.jp collected 2026-10-04 13:25:58 UTC 1,174 bytes, 54 lines download raw bytes

1/*==================================================
2
3swiper
4==================================================*/
5$(function() {
6	//swiper 768以下で起動
7	var swiper;
8	var resizes_timer = false;
9	$(window).on('load resize', function(){
10		
11		if (resizes_timer !== false) clearTimeout(resizes_timer);
12		resizes_timer = setTimeout(function() {
13			
14			var w = window.innerWidth;
15			if (w <= 600) {
16				if (swiper) {
17					return;
18				} else {
19					swiper = new Swiper('.swiper-related', {
20						slidesPerView: 'auto',
21						spaceBetween: 16,
22						freeMode: true,
23						freeModeSticky: true,
24						loop: true,
25						autoplay: {
26							delay:4000,
27							disableOnInteraction: false,
28						},
29						speed: 1000,
30					});
31				}
32			} else {
33				if (swiper) {
34					swiper.destroy();
35					swiper = undefined;
36				} 
37			}
38			
39		}, 500 );
40	});
41}); 
42
43
44/*==================================================
45
46other
47==================================================*/
48$(function () {
49	$('#articleSec .copybtn').click(function () {
50		const copy_txt = $(this).attr('data-copyurl');
51		navigator.clipboard.writeText(copy_txt);
52		alert("この記事のURLをコピーしました");
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.