1//ì¬ì¤ì¸ì¦ ë´ë¶ js 2(function(e){ 3 //localStorage.setItem("testKey", "testValue"); 4 5 //window.parent.postMessage({params: [location.protocol, location.hostname, location.port]},'*'); 6 window.addEventListener( 'message', function (e) { 7 window[e.data.functionName](e.data.param); 8 });//, {once : true} 9 /**기ì ê³ ê°**/ 10 getAccountValBiz = function(e){ 11 //ê³ì í¤ë¥¼ ì´ì©ê¸°ê´ ëë©ì¸ì ë³´ë´ì¤ë¤. 12 var getLocalParams = JSON.parse(localStorage.getItem("bizCloudInfo")); 13 var getSessionParams; 14 if(getLocalParams != null && getLocalParams != ""){ 15 e.accountKey = getLocalParams.accountKey; 16 e.deviceId = getLocalParams.deviceId; 17 e.returnFnc = "getAccountValBiz"; 18 }else{ 19 getSessionParams = JSON.parse(sessionStorage.getItem("bizCloudInfo")); 20 if(getLocalParams != null && getLocalParams != ""){ 21 e.accountKey = getSessionParams.accountKey; 22 e.deviceId = getSessionParams.deviceId; 23 e.returnFnc = "getAccountValBiz"; 24 } 25 } 26 window.parent.postMessage({params: JSON.stringify(e)},'*'); 27 }, 28 setLocalStorageAccountValBiz = function(e){ 29 //ê³ì í¤ë¥¼ ì´ì©ê¸°ê´ ëë©ì¸ìì ë°ì ë¡ì»¬ ì¤í 리ì§ìì ì ì¥íë¤. 30 localStorage.setItem("bizCloudInfo", JSON.stringify(e)); 31 sessionStorage.setItem("bizCloudInfo", JSON.stringify(e)); 32 }, 33 setSessionStorageAccountValBiz = function(e){ 34 sessionStorage.setItem("bizCloudInfo", JSON.stringify(e)); 35 }, 36 removeStorageBiz = function(e){ 37 localStorage.removeItem("bizCloudInfo"); 38 sessionStorage.removeItem("bizCloudInfo"); 39 } 40 41 42}(window))
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.