PageSourceSearch

https://ithu.tw/static/script.js

js ithu.tw collected 2026-09-26 03:30:09 UTC 584 bytes, 27 lines download raw bytes

1$(function () {
2	$("#btn-signout").click(function (e) {
3		e.preventDefault();
4		var ajax = $.ajax({
5			url: window.config.BASE_URL + "/service?action=user_signout",
6			type: 'POST',
7			data: {}
8		});
9		ajax.done(function (res) {
10			window.location.pathname = "/";
11		});
12	});
13
14	$("#btn-oauth-login").click(function (e) {
15		e.preventDefault();
16		var ajax = $.ajax({
17			url: window.config.BASE_URL + "/service?action=oauth_get_url",
18			type: 'POST',
19			data: {}
20		});
21		ajax.done(function (res) {
22			window.location.href = res['url'];
23		});
24	});
25
26	$('.date-picker').datetimepicker();
27});

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.