PageSourceSearch

https://es.re.kr/assets/js/captcha.js

js es.re.kr collected 2026-09-24 10:06:01 UTC 941 bytes, 30 lines download raw bytes

1if (typeof(CAPTCHA_JS) === 'undefined') {
2
3    if (typeof cb_url === 'undefined') {
4        alert('올바르지 않은 접근입니다.');
5    }
6
7    var CAPTCHA_JS = true;
8    var captcha_word = '';
9
10    $(function() {
11        $(document).on('click', '#captcha', function() {
12            $.ajax({
13                url : cb_url + '/captcha/show',
14                type : 'get',
15                dataType : 'json',
16                success : function(data) {
17                    $('#captcha').attr('src', cb_url + '/uploads/captcha/' + data.filename);
18                    captcha_word= data.word;
19                }
20            });
21        });
22        $('#captcha').trigger('click');
23
24        if (typeof $.validator !== 'undefined') {
25            $.validator.addMethod('captchaKey', function(value, element) {
26                return this.optional(element) || value.toLowerCase() === captcha_word.toLowerCase();
27            });
28        }
29    });
30}

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.