PageSourceSearch

https://reminder.top/js/tp_profile.js?u=079

js reminder.top collected 2026-10-02 06:15:24 UTC 5,098 bytes, 176 lines download raw bytes

1function f_tp_profile_user_follow_auto_id(l_in_uf_uid_int, l_in_hidden_id) {
2	try {
3		if ($('#' + l_in_hidden_id).hasClass('c_profile_title_content_tabmenu_follow_link_div')) {
4// 解除へ
5			f_tp_profile_user_2unfollow_submit_id(l_in_uf_uid_int, l_in_hidden_id);
6		} else if ($('#' + l_in_hidden_id).hasClass('c_profile_title_content_tabmenu_unfollow_link_div')) {
7			f_tp_profile_user_2follow_submit_id(l_in_uf_uid_int, l_in_hidden_id);
8// フォローへ
9		}
10	} catch (e0) {
11	}
12}
13function f_tp_profile_user_2follow_submit_id(l_in_uf_uid_int, l_in_hidden_id) {
14	var l_req = null;
15	if (window.ActiveXObject) {
16		try {
17			l_req = new ActiveXObject("Msxml2.XMLHTTP");
18		} catch (e_xmlhttpobject) {
19			l_req = new ActiveXObject("Microsoft.XMLHTTP");
20		}
21	} else if (window.XMLHttpRequest) {
22		l_req = new XMLHttpRequest();
23		l_req.overrideMimeType('text/html');
24	} else {
25		l_req = null;
26	}
27	if (f_tp_common_basic_isNull(l_req)) { return; }
28	l_req.open('POST', '/sr/user_follow.cgi?u=' + f_tp_common_basic_nowDate2yymmddhhmmss(), true);
29	l_req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
30	l_req.onreadystatechange = function() {
31		if (4 === l_req.readyState) {
32			var ll_stat = '0';
33			var ll_res = '';
34			if (200 === l_req.status) {
35				ll_res = l_req.responseText;
36				ll_stat = '1';
37			} else if (1 === l_req.status) {
38			} else {
39				ll_stat = '-1';
40				try {
41					l_req.abort();
42				} catch (e1) {
43				}
44				try {
45					l_req = null;
46				} catch (e2) {
47				}
48			}
49			f_tp_profile_user_2follow_submit_id_callback(ll_stat, ll_res, l_in_hidden_id);
50		}
51	};
52	var l_sendData = 'uid=' + l_in_uf_uid_int;
53	l_req.send(l_sendData);
54} // f_tp_user_follow_submit
55function f_tp_profile_user_2follow_submit_id_callback(l_ret, l_res, l_in_hidden_id) {
56	if ('1' == l_ret) {
57		if (('ok' == l_res) || ('already' == l_res)) {
58			try {
59				$('#' + l_in_hidden_id).removeClass('c_profile_title_content_tabmenu_unfollow_link_div');
60			} catch (e0) {
61			}
62			try {
63				$('#' + l_in_hidden_id).addClass('c_profile_title_content_tabmenu_follow_link_div');
64			} catch (e1) {
65			}
66		}
67	} else {
68	}
69}
70function f_tp_profile_user_2unfollow_submit_id(l_in_uf_uid_int, l_in_hidden_id) {
71	var l_req = null;
72	if (window.ActiveXObject) {
73		try {
74			l_req = new ActiveXObject("Msxml2.XMLHTTP");
75		} catch (e_xmlhttpobject) {
76			l_req = new ActiveXObject("Microsoft.XMLHTTP");
77		}
78	} else if (window.XMLHttpRequest) {
79		l_req = new XMLHttpRequest();
80		l_req.overrideMimeType('text/html');
81	} else {
82		l_req = null;
83	}
84	if (f_tp_common_basic_isNull(l_req)) { return; }
85	l_req.open('POST', '/sr/user_unfollow.cgi?u=' + f_tp_common_basic_nowDate2yymmddhhmmss(), true);
86	l_req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
87	l_req.onreadystatechange = function() {
88		if (4 === l_req.readyState) {
89			var ll_stat = '0';
90			var ll_res = '';
91			if (200 === l_req.status) {
92				ll_res = l_req.responseText;
93				ll_stat = '1';
94			} else if (1 === l_req.status) {
95			} else {
96				ll_stat = '-1';
97				try {
98					l_req.abort();
99				} catch (e1) {
100				}
101				try {
102					l_req = null;
103				} catch (e2) {
104				}
105			}
106			f_tp_profile_user_2unfollow_submit_id_callback(ll_stat, ll_res, l_in_hidden_id);
107		}
108	};
109	var l_sendData = 'uid=' + l_in_uf_uid_int;
110	l_req.send(l_sendData);
111} // f_tp_profile_user_2unfollow_submit_id
112function f_tp_profile_user_2unfollow_submit_id_callback(l_ret, l_res, l_in_hidden_id) {
113	if ('1' == l_ret) {
114		if (('ok' == l_res) || ('already' == l_res)) {
115			try {
116				$('#' + l_in_hidden_id).removeClass('c_profile_title_content_tabmenu_follow_link_div');
117			} catch (e0) {
118			}
119			try {
120				$('#' + l_in_hidden_id).addClass('c_profile_title_content_tabmenu_unfollow_link_div');
121			} catch (e1) {
122			}
123		}
124	} else {
125	}
126}
127
128function f_tp_profile_my_delete(l_in_remind_id) {
129	if(window.confirm('このコラムをマイ年表から外す')) {
130		var l_req = null;
131		if (window.ActiveXObject) {
132			try {
133				l_req = new ActiveXObject("Msxml2.XMLHTTP");
134			} catch (e_xmlhttpobject) {
135				l_req = new ActiveXObject("Microsoft.XMLHTTP");
136			}
137		} else if (window.XMLHttpRequest) {
138			l_req = new XMLHttpRequest();
139			l_req.overrideMimeType('text/html');
140		} else {
141			l_req = null;
142		}
143		if (f_tp_common_basic_isNull(l_req)) { return; }
144		l_req.open('POST', '/sr/profile_reminder_delete.cgi?u=' + f_tp_common_basic_nowDate2yymmddhhmmss(), true);
145		l_req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
146		l_req.onreadystatechange = function() {
147			if (4 === l_req.readyState) {
148				var ll_stat = '0';
149				var ll_res = '';
150				if (200 === l_req.status) {
151					ll_res = l_req.responseText;
152					ll_stat = '1';
153				} else if (1 === l_req.status) {
154				} else {
155					ll_stat = '-1';
156					try {
157						l_req.abort();
158					} catch (e1) {
159					}
160					try {
161						l_req = null;
162					} catch (e2) {
163					}
164				}
165				f_tp_profile_my_delete_callback(ll_stat, ll_res);
166			}
167		};
168		var l_sendData = 'rid=' + l_in_remind_id;
169		l_req.send(l_sendData);
170	} else {
171	}
172}
173function f_tp_profile_my_delete_callback(l_ret, l_res) {
174	location.reload(true);
175}
176/* 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.