PageSourceSearch

https://reminder.top/js/tp_setting.js?u=18

js reminder.top collected 2026-10-02 06:15:09 UTC 2,880 bytes, 97 lines download raw bytes

1// ver 0.0.1
2// IE9 later
3// tp_common_basic.js
4$(document).ready(function() {
5});
6function f_setting_show (l_in_id, event) {
7	try {
8		f_tp_user_login_icon_close(); // tp_user_login.js
9	} catch (e_u0) {
10	}
11	try {
12		f_tp_user_entry_removeTopEle(); // tp_user_entry.js
13	} catch (e_ue0) {
14	}
15
16
17	try {
18		f_tp_firstpage_removeTopEle();
19	} catch (e_firstpage0) {
20	}
21
22
23
24
25
26
27//id_base_header_setting_div2
28
29	try {
30		var l_already1 = false;
31		var $lv_eventObj = $('#id_base_header_setting_div2');
32		var l_obj1 = $lv_eventObj.children();
33		for (var i = 0; i < l_obj1.length; i ++) {
34			if ("id_base_header_setting_icon_div" == $(l_obj1[i]).attr("id")) {
35				l_already1 = true;
36			}
37		}
38		if (l_already1) {
39			f_tp_setting_icon_close();
40			return false;
41		}
42
43		var l_w = f_tp_common_basic_numPx2num($lv_eventObj.css('width'));
44		var l_h = f_tp_common_basic_numPx2num($lv_eventObj.css('height'));
45		var l_b_offsetX = Math.round(l_w * 0.5);
46		var $mainDiv_obj = $("<div></div>");
47		$mainDiv_obj.attr("name", "n_base_header_setting_icon_div");
48		$mainDiv_obj.attr("id", "id_base_header_setting_icon_div");
49		var l_h = '<div class="c_base_header_setting_icon_arrow_div"></div>';
50		l_h += "\n" + '<div class="c_base_header_setting_icon_contents_div">';
51		l_h += "\n" + '<div class="c_base_header_setting_icon_text1_div"><a href="/about.html" class="c_base_header_setting_icon_text_a">リマインダーとは</a></div>';
52		l_h += "\n" + '<div class="c_base_header_setting_icon_text2_div"><a href="/contact" class="c_base_header_setting_icon_text_a">お問い合わせ</a></div>';
53		l_h += "\n" + '<hr class="c_base_header_setting_icon_hr"></hr>';
54		l_h += "\n" + '<div class="c_base_header_setting_icon_text3_div"><a href="/terms.html" class="c_base_header_setting_icon_text_a">利用規約</a></div>';
55		l_h += "\n" + '<div class="c_base_header_setting_icon_text4_div"><a href="/privacy_policy.html" class="c_base_header_setting_icon_text_a">プライバシーポリシー</a></div>';
56
57		l_h += "\n" + '</div>';
58
59		$mainDiv_obj.html(l_h);
60		$lv_eventObj.append($mainDiv_obj);
61	} catch (e0) {
62		f_tp_setting_icon_close();
63	}
64}
65function f_tp_setting_icon_close() {
66	try {
67		$('#id_base_header_setting_icon_div').remove();
68	} catch (e0) {
69	}
70	try {
71		var l_ele = document.getElementsByName('n_base_header_setting_icon_div');
72		if (l_ele.length) {
73			for (var i = (l_ele.length - 1); i >= 0; i = i - 1) {
74				try {
75					l_ele[i].parentNode.removeChild(l_ele[i]);
76				} catch (e1_0) {
77				}
78			}
79		}
80	} catch (e1) {
81	}
82}
83function f_fp_cookieDel () {
84	$.removeCookie('t1');
85	$.removeCookie('t2');
86	$.removeCookie('t1',{ path: '/'});
87	$.removeCookie('t2',{ path: '/'});
88//	location.reload(true);
89	location.href = "/";
90}
91///////////////////////
92function f_tp_setting_onClickNoAction (event) {
93	// フレーム内をクリックしても親には伝播しない
94	event.stopPropagation();
95}
96
97// end of file

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.