PageSourceSearch

https://www.bsfuji.tv/top/index/js/cookie_modal_prime3h.js

js bsfuji.tv collected 2026-09-24 09:20:14 UTC 1,128 bytes, 30 lines download raw bytes

1$(function () {
2	//cookieの値が既読じゃなかったら表示させる
3	if ($.cookie('bnrRead') != 'on') {
4		$('#modalArea').show().append('<div id="modalBg" class="modalBg"></div><div class="modalWrapper"><div class="modalContents"><div><a href="https://www.bsfuji.tv/primenews/index.html?modal" id="modallink"><img src="/top/index/img/popup_prime3h.jpg"></a></div><button id="btn">今日は表示させない</button></div><div id="closeModal" class="closeModal">×</div></div>');
5	}
6	//隠すボタンをクリックしたらバナーを隠す
7	$('#btn').click(function() {
8		$('#modalArea').hide();
9		$.cookie('bnrRead', 'on', { //cookieにbnrReadという名前でonという値をセット
10				expires: 1, //cookieの有効日数
11				path:'/' //有効にするパス
12			});
13		});
14	//cookieを削除する
15	$('#del').click(function(){
16		$.removeCookie('bnrRead' , { //bnrReadを削除
17			path:'/' //有効にするパス
18		});
19	});
20});
21
22$(function () {
23  $('#openModal').click(function(){
24      $('#modalArea').fadeIn();
25  });
26  $('#closeModal , #modalBg').click(function(){
27    $('#modalArea').fadeOut();
28  });
29});
30

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.