PageSourceSearch

https://www.ecpay.com.tw//Scripts/privacypolicy.js?v=20220505

js ecpay.com.tw collected 2026-09-24 08:32:53 UTC 1,570 bytes, 51 lines download raw bytes

1$(function () {
2    checkPrivacyPolicyAgree();
3
4    $('.PriPol_Close').click(function () {
5        writePrivacyPolicyAgree();
6        $('.cookies-info').hide();
7    });
8
9    function appendContentInfo() {
10        var cookieInfoContent =
11    			  '<div class="cookies-info">'
12    			+ '	<div class="cki-box">'
13    			+ '		<div class="cib-txt">'
14    			+ '			本網站使用 Cookies 以便為您提供更優質的使用體驗,點擊 "同意" 或繼續瀏覽網站即表示您同意我們使用 Cookie。 <a href="https://www.ecpay.com.tw/CreditCard/Privacy">隱私權政策</a>'
15    			+ '		</div>'
16    			+ '		<div class="cib-btn-box">'
17    			+ '			<a href="javascript:;" class="cib-btn PriPol_Close">同意</a>'
18    			+ '		</div>'
19    			+ '		<a href="javascript:;" class="cib-close PriPol_Close"></a>'
20    			+ '	</div>'
21    			+ '</div>';
22
23        $('body').append(cookieInfoContent);
24    }
25
26    function writePrivacyPolicyAgree() {
27        $.ajax({
28            url: '/PrivacyPolicy/writePrivacyPolicyAgree',
29            type: "GET",
30            success: function (data) {
31                return data;
32            }
33        });
34    }
35
36    function checkPrivacyPolicyAgree() {
37        var isAgreed = false;
38        $.ajax({
39            url: '/PrivacyPolicy/checkPrivacyPolicyAgree',
40            type: "GET",
41            async: false,
42            success: function (data) {
43                isAgreed = data;
44            }
45        });
46
47        if (!isAgreed) {
48            appendContentInfo();
49        }
50    }
51});

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.