PageSourceSearch

https://mozuku.biz/js/scripts.js?2303

js mozuku.biz collected 2026-10-05 20:43:58 UTC 1,809 bytes, 45 lines download raw bytes

1$(function($){
2
3	//URLを取得して整形
4	var URL = location.href;
5	URL = URL.replace(/\/\//g,"/");
6
7	//split()で「/」ごとにURLを分解し、配列へ。
8	newURLarr = [];
9	URLarr = URL.split("/");
10	URLlength = URLarr.length;
11
12	// console.log(URLarr);
13	// console.log(URLarr.length);
14
15	if(URLlength == 3 || URLarr[2] == 'index.html'){
16		$('body').addClass('home');
17		$('#contents').before('<div id="index-main-visual"><div id="mv-innr"><img src="/img/index/main-visual-mozuku.png" alt=""></div></div>');
18	};
19
20	const dateCurrent = new Date().getTime();
21	const dateTarget = new Date('2024/3/1 0:00:00').getTime();
22
23	if(dateCurrent > dateTarget){
24		$('#side-deli-fee').append('<img src="/img/common/delivery-fee_240226.png" alt="商品の送料|全国(沖縄除く) 1,300円 沖縄県 900円 8000円以上のお買い上げの方 送料無料" width="200" height="126">');
25		$('#main-column').append('<div id="foot-info"><img src="/img/common/foot-info_240226.png" alt=""></div>');
26	}else{
27		$('#side-deli-fee').append('<img src="/img/common/delivery-fee_230301.png" alt="商品の送料|送料全国一律 1,200円、7,000円以上お買上げの方 送料無料" width="200" height="126">');
28		$('#main-column').append('<div id="foot-info"><img src="/img/common/foot-info_230301.png" alt=""></div>');
29	}
30
31	$(window).on('load', function(){
32		$('.column-set > section .itemThumb, .kanren-set-items > ul > li .itemThumb, .prod-list > li .prod-pic').each(function(){
33			var thumbW = $(this).outerWidth(false);
34			var $thisChild = $(this).find('img');
35			var thisChildW = $thisChild.width();
36
37			if( thumbW < thisChildW ) {
38				$thisChild.css({width:'100%',height:'auto'});
39				var tcH = $thisChild.height();
40				var marg = (thumbW - tcH) / 2;
41				$thisChild.css('margin-top',marg);
42			}
43		});
44	});
45});

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.