PageSourceSearch

https://chemicalguys-korea.com/data/skin/front/moment/js/gd_kakao.js

js chemicalguys-korea.com collected 2026-10-09 23:08:18 UTC 2,558 bytes, 79 lines download raw bytes

1/**
2 * Create by sojeong
3 */
4
5$(document).ready(function () {
6    var $kakaoLoginBtn = $('.js_btn_kakao_login');
7
8    if($kakaoLoginBtn.length > 0) {
9        $kakaoLoginBtn.click(function () {
10            var url ='';
11            var returnUrl = $kakaoLoginBtn.data('return-url');
12            url = '../member/kakao/kakao_login.php?kakaoType=' + $kakaoLoginBtn.data('kakao-type') + '&returnUrl=' + encodeURIComponent(returnUrl);
13            var win = gd_popup({
14                url: url, target: "kakaoLogin", width: 630, height: 560, resizable: "no", scrollbars: "no"
15            });
16            win.focus();
17            return win;
18        });
19    }
20
21    if(typeof kakaoProfile !== 'undefined') {
22        if(kakaoProfile.nickname){
23            $('input[name="memNm"]').val(kakaoProfile.nickname);
24        }
25        if(kakaoProfile.email){
26            $('input[name="email"]').val(kakaoProfile.email);
27        }
28
29        var $memPw = $('input[name="memPw"]');
30        if ($memPw.length > 0) {
31            $memPw.addClass('ignore');
32        }
33        var $memPwRe = $('input[name="memPwRe"]');
34        if ($memPwRe.length > 0) {
35            $memPwRe.addClass('ignore');
36        }
37    }
38
39    var $snsConnectBtn = $('.js_btn_sns_connect');
40
41    if ($snsConnectBtn.length > 0) {
42        $snsConnectBtn.click(function () {
43            if ($(this).data('sns') == 'kakao') {
44                var url = '../member/kakao/kakao_login.php?kakaoType=connect';
45                var win = gd_popup({
46                    url: url, target: "kakaoLogin", width: 630, height: 560, resizable: "no", scrollbars: "no"
47                });
48                win.focus();
49                return win;
50            }
51        });
52    }
53
54    if (typeof snsConnection !== 'undefined') {
55        var $disconnectBtn = $('.js_btn_sns_disconnect');
56        if ($disconnectBtn.length > 0) {
57            $disconnectBtn.click(function () {
58                if($(this).data('sns') == 'kakao') {
59                    if (confirm(__('계정 연결을 해제하시겠습니까?'))) {
60                        var url = $(this).data('kakao-url');
61                        var win = gd_popup({
62                            url: url, target: "kakaoLogin", width: 0, height: 0, resizable: "no", scrollbars: "no"
63                        });
64                        win.focus();
65                        return win;
66                    }
67                }
68            });
69        }
70    }
71
72
73});
74
75function confirmJoin(message, location) {
76    if (confirm(message)) {
77        window.location.href = location;
78    }
79}

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.