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.