PageSourceSearch

https://www.lensmode.com/assets/js/limitedCoupon.js?1789099106

js lensmode.com collected 2026-10-04 04:07:44 UTC 838 bytes, 32 lines download raw bytes

1(function() {
2	// ページの読み込み完了を待つ
3	document.addEventListener('DOMContentLoaded', function() {
4		const now = new Date();
5		const schedule = [
6			// 9/17
7			{ start: new Date(2026, 8, 17, 0, 0, 0), end: new Date(2026, 8, 28, 23, 59, 59) }
8		];
9
10		const isTargetTime = schedule.some(period => {
11			return now >= period.start && now < period.end;
12		});
13
14		const banners = document.querySelectorAll('.limitedcoupon_target');
15
16		banners.forEach(function(banner) {
17			if (isTargetTime) {
18				// blockを確実に適用させる
19				banner.style.setProperty('display', 'block', 'important'); 
20			} else {
21				if (banner.parentNode) {
22					banner.parentNode.removeChild(banner);
23				}
24			}
25		});
26
27		const monthEl = document.getElementById('month');
28		if (monthEl) {
29			monthEl.innerText = now.getMonth() + 1;
30		}
31	});
32})();

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.