PageSourceSearch

https://koshu.eei.or.jp/js/guest/login.js?ver=20260908180335

js eei.or.jp collected 2026-10-02 12:25:21 UTC 1,768 bytes, 62 lines download raw bytes

1var screenId = "login_screen_lock";
2(function() {
3
4
5//    setGuestAllCart(null);
6
7     var saveIdYn = $('#saveId').val();
8
9     $('#login-save').change(function() {
10        if(this.checked) {
11            $('#saveId').val('Y');
12        }else{
13            $('#saveId').val('N');
14        }
15    });
16
17    if(saveIdYn!=null && saveIdYn == "Y"){
18        $('#login-save').prop('checked', true);
19    }
20
21
22    if($('#userEmail-error').text() != "" && $('#userEmail-error').length){
23        $('#emailInput').addClass("-error");
24    } else {
25        $('#emailInput').removeClass("-error");
26    }
27
28    $('#loginFormSubmit').on('click', function(e){
29
30        // Scriptダブルクリック防止
31        lockScreen(screenId);
32
33        // aタグを無効化
34        e.preventDefault();
35
36        var form = $(this).parents('form');
37
38        // Controllerダブルクリック防止
39        $.ajax({
40            url : '/login/doubleClickCheck/',
41            async: false,
42            type : 'POST',
43        }).done(function(result){
44            if (result != null && result.resultFlg) {
45                if (result.redirectUrl != null) {
46                    location.href = result.redirectUrl;
47                } else {
48                     grecaptcha.enterprise.ready(function() {
49                        grecaptcha.enterprise.execute(RECAPTCHA_SITE_KEY, {action: 'login'}).then(function(token) {
50                            $('#recaptchaToken').val(token);
51                            form.submit();
52                        });
53                     });
54                }
55            }
56        }).fail(function(XMLHttpRequest, textStatus, errorThrown) {
57            // Scriptダブルクリック解除(処理不具合時)
58            unlockScreen(screenId);
59        });
60    });
61
62})();

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.