PageSourceSearch

https://www.jihyo.co.jp/js/login_check.js

js jihyo.co.jp collected 2026-10-02 11:39:59 UTC 1,446 bytes, 36 lines download raw bytes

1jQuery(function ($) {
2    $.ajax({
3        type: 'GET',
4        url: '/kenkyukai/Auth',
5        data: { 'get_type': 'state' },
6        dataType: 'json'
7    }).done(function (data) {
8        if (data) {
9            if (!data.result) {
10                // ログアウト中はここ
11                // console.log('ログアウト中');
12                $('body').removeClass("login");
13                $('body').addClass("logout");
14                $('.box01InnerR .btn-logout').hide();
15            } else {
16                // ログインしている時はここにくる
17                // console.log('ログイン中');
18                $('body').removeClass("logout");
19                $('body').addClass("login");
20                $('#research').html('<a href="/kenkyukai/my_page"><i class="fas fa-user"></i>研究会マイページ</a>');
21                $('#pcnone_ken').html('<a href="/kenkyukai/my_page"><i class="fas fa-user"></i>研究会マイページ</a>');
22                $('.box01InnerR .btn-logout').show();
23            }
24        } else {
25            // 結果を取得できていない場合
26            console.log('data is null');
27            $('body').removeClass("login");
28            $('body').addClass("logout");
29        }
30    }).fail(function (data) {
31        // 結果を取得できていない場合
32        console.log('failed.');
33        $('body').removeClass("login");
34        $('body').addClass("logout");
35    });
36});

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.