PageSourceSearch

https://image.yes24.com/sysimage/Contents/Scripts/p/logging/roiJsNewScript_v3.min.js

js yes24.com collected 2026-09-24 08:37:09 UTC 7,657 bytes, 1 lines download raw bytes

1function userAgentChk(){var i=navigator.userAgent,n=["iPhone","iPod","BlackBerry","Android","Windows CE","LG","MOT","SAMSUNG","SonyEricsson"],t=!1;for(var r in n)if(i.match(n[r])){t=!0;break}return t}function _multiDomain(n){var t=n.split(".");return t.length==3?t[1].length==2?n:t[1]+"."+t[2]:t.length>3?t[t.length-2].length==2?t[t.length-3]+"."+t[t.length-2]+"."+t[t.length-1]:t[t.length-2]+"."+t[t.length-1]:n}function _parseQuery(n){var t=window.location.search;if(typeof window.location.search=="string"&&(t=document.location.href),t.indexOf(n)<0)return"";var f=t.length,i=t.indexOf(n+"=")+(n.length+1),r=t.substr(i,f-i),u=i+r.indexOf("&");return u>=i&&(r=t.substr(i,u-i)),r}function _parseReferrerQuery(n){var f={"www.google.co.kr":"q","www.google.com":"q","search.naver.com":"query","search.daum.net":"q","kr.search.yahoo.com":"p","search.empas.com":"q","search.paran.com":"Query","search.d.paran.com":"q","livesearch.msn.co.kr":"q","search.cyworld.com":"q","nate.search.empas.com":"q","search.korea.com":"query","search.chol.com":"q","www.grapi.kr":"query"},r,t;if(f[n]!==undefined){if(r=f[n],t=top.document.referrer,t.indexOf(r)<0)return"";var o=t.length,i=t.indexOf(r+"=")+(r.length+1),u=t.substr(i,o-i),e=i+u.indexOf("&");return e>=i&&(u=t.substr(i,e-i)),u}return""}function _getCookieVal(n){var t=document.cookie.indexOf(";",n);return t==-1&&(t=document.cookie.length),unescape(document.cookie.substring(n,t))}function _getCookie(n){for(var r=n+"=",u=r.length,f=document.cookie.length,t=0,i;t<f;){if(i=t+u,document.cookie.substring(t,i)==r)return _getCookieVal(i);if(t=document.cookie.indexOf(" ",t)+1,t===0)break}return null}function _setCookie(n,t,i){var r=new Date;r.setDate(r.getDate()+i);document.cookie=n+"="+escape(t)+"; path=/; domain="+_trackingDomain+"; expires="+r.toGMTString()+";"}function _setCookieSec(n,t,i){var r=new Date;r.setSeconds(r.getSeconds()+i);document.cookie=n+"="+escape(t)+"; path=/; domain="+_trackingDomain+"; expires="+r.toGMTString()+";"}function _getDomain(n){return start=n.indexOf("//"),end=n.substring(start+2,n.length).indexOf("/"),n.substring(start+2,start+2+end)}function _getEpochTime(n){var t=new Date;return t.setDate(t.getDate()+n),parseInt(t.getTime()/1e3,10)}function _getEpochTimeForCookieTime(){var n=new Date;return n.setDate(n.getDate()),parseInt(n.getTime(),10)}function _getCalculateTime(n){var t=new Date;return t.setSeconds(t.getSeconds()+n),parseInt(t.getTime()/1e3,10)}function _neoReSetCookies(n,t,i,r){var f=_getCookie(t),u="";f===null?(epochtime=_getEpochTime(r),u=n+"."+epochtime):u=neoRebatchCookies(f,n);_setCookie(t,u,_cookieExpires)}function neoRebatchCookies(n,t){for(var r,s,u=n.split("|"),h=u.length,f="",e="",o=0,i=0;i<h;i++)r=u[i].split("."),s=r.length,r[s-1]-_todayepochtime>0&&(e=neoAddDiv(r,"."),e!=t&&(f+=u[i]+"|"));return o=_getEpochTime(_query.trackingDays?_query.trackingDays:_trackingDays),f+(t+"."+o)}function neoAddDiv(n,t){for(var u=n.length,i="",r=0;r<u-1;r++)i+=n[r]+t;return i.substring(0,i.length-1)}function _neoLastAdvertiserData(n,t){for(var i,f=n.split("|"),s=f.length,e="",r="",o=0,u=s-1;u>=0;u--)if(i=f[u].split("."),i.length>0&&(o=i.length,i[o-1]-_todayepochtime>0&&(r=neoAddDiv(i,"."),r!=t&&_ekamsAdvertiserID==i[1]))){e=r;break}return e}function _neoAbstractionUrl(){var t=_getCookie(_ekamsCookieName),i=_getCookie(_neoKeywordCookieName),n=_protocol+_trackingURL+_conversionURL+".emf?advertiserId="+_ekamsAdvertiserID;return n+="&roiId="+_ekamsTrackingID,n+="&value="+_sp,n+="&code1="+_dir,n+="&code2="+_cat,n+="&ekams="+_ekams,n+="&allekams="+t,n+("&neo="+i)}function _neoAbstractionUrlFlash(n,t,i,r,u){var e=_getCookie(_ekamsCookieName),s=_getCookie(_neoKeywordCookieName),o="",f;return e!==null&&(o=_neoLastAdvertiserData(e,_query.ekams)),f=_protocol+_trackingURL+_conversionURL+".emf?advertiserId="+n,f+="&roiId="+t,f+="&value="+i,f+="&code1="+r,f+="&code2="+u,f+="&ekams="+o,f+="&allekams="+e,f+("&neo="+s)}function _neoTrackingAbstractionData(n){var u="",r,t,i,f;if(n!==null&&n!=="")for(r=n.split("|"),t=r.length-1;t>=0;t--)i=r[t].split("."),f=i[0],u+=_neoSearchMatchCode[f]+"."+i[5]+"."+i[6]+"|";return u}function _neoKewordCookies(){var n=_kwd,u=_rfd,i=_neoSearchEngineType[u],t,r,f;(i===undefined||i==="")&&(t=u.replace(".","_"),t=t.replace(".","_"),t.indexOf(".")>0&&(t=t.replace(".","_")),i=t);r="";n!==""?(n=n.replace(".",""),n=n.replace("%7C","")):(n="NOSEARCH",n=n.replace("%7C",""));f=i+"."+n;r=_neoQueueCookiesValue(_neoKeywordCookieName,f,3);_setCookie(_neoKeywordCookieName,r,_cookieExpires)}function _neoQueueCookiesValue(n,t,i){var u=_getCookie(n),r,o,l;u===null&&(u="");var f=u.split("|"),e=f.length,s="",h=0,c=0;for(e>=i&&(c=e-i+1),r=c;r<e;r++)o=f[r].split("."),l=o.length,o[l-1]-_todayepochtime>0&&(s+=f[r]+"|");return h=_getEpochTimeForCookieTime(),s+(t+"."+h)}function callbackFlashAction(n,t,i,r,u){var f=new Image;f.src=_neoAbstractionUrlFlash(n,t,i,r,u)}function makeSalesPrice(n){var t=n+"";return/[0-9,]+/.test(t)?t.split(",").join(""):"0"}function _parseQueryRef(n){var t=window.location.search;if(t.indexOf(n)<0)return"";t=t.replace(/%2F/g,"/").replace(/%26/g,"&").replace(/%3A/g,":");var f=t.length,i=t.indexOf(n+"=")+(n.length+1),r=t.substr(i,f-i),u=i+r.indexOf("&");return u>=i&&(r=t.substr(i,u-i)),r}var _pg=document.location.href,_rf=document.referrer,_trackingDomain=_multiDomain(document.domain),_sp,_dir,_cat,_depth,_rfd="",_kwd="",_ekams="",_conversionURL="gd",_trackingDays=30,_cookieExpires=30,_epochtime=0,_query={},_ekamsCookieValue="",_ekamsCookieName="ekams.tracer",_neoKeywordCookieName="neo.keyword",_todayepochtime=_getEpochTime(0),_protocol=document.location.protocol.indexOf("https")!=-1?"https://":"http://",_trackingURL="conv2.emforce.co.kr/",_trackingURLHttps="roi.emforce.co.kr/",_requestURL=self.document.location.href,_neoSearchEngineType={"www.google.co.kr":"Google","www.google.com":"Google","search.naver.com":"Naver","search.daum.net":"Daum","kr.search.yahoo.com":"Yahoo","search.empas.com":"Empas","search.paran.com":"Paran","search.d.paran.com":"Dreamwiz","livesearch.msn.co.kr":"MSN","search.cyworld.com":"Cyworld","nate.search.com":"Nate","search.korea.com":"Korea","search.chol.com":"Chol","www.grapi.kr":"Grapi"},_neoSearchMatchCode={adwords:"G",overture:"O",naver:"N",daum:"D",yahoo:"Y",empas:"E",paran:"P",realclick:"R"},param,localTempCookiesStr,_duplChek,_pageDepth,newScriptTag,firstScriptTag;_rf==""&&(param=window.location.search,param.indexOf("_caosrefdm")<0?userAgentChk()&&(_rf="mobile"):_rf=_parseQueryRef("_caosrefdm"));_protocol.indexOf("https")!=-1&&(_trackingURL=_trackingURLHttps);try{_salesPrice!==""&&(_sp=makeSalesPrice(_salesPrice))}catch(e){_sp=""}try{_pageDepth=="final"&&(_depth=_pageDepth)}catch(e){_depth=""}try{_directory!==""&&(_dir=_directory)}catch(e){_dir=""}try{_category!==""&&(_cat=_category)}catch(e){_cat=""}_query.ekams=_parseQuery("EKAMS");_query.trackingDays=_parseQuery("trackingDays");
1_query.ekams!==""&&_rf!==""?_neoReSetCookies(_query.ekams,_ekamsCookieName,5,_trackingDays):(localTempCookiesStr=_getCookie(_ekamsCookieName),localTempCookiesStr!==null&&(_ekams=_neoLastAdvertiserData(localTempCookiesStr,_query.ekams)));_query.ekams!==""&&_rf!==""&&(_rfd=_getDomain(_rf),_kwd=_parseReferrerQuery(_rfd),_neoKewordCookies(_rf));_duplChek=_getCookie("ekams.dupl");_pageDepth===undefined&&(_pageDepth="");_duplChek===null&&_pageDepth=="final"&&_requestURL.substr(0,4)!="file"&&_ekams!==""&&(newScriptTag=document.createElement("script"),newScriptTag.src=_neoAbstractionUrl(),firstScriptTag=document.getElementsByTagName("script")[0],firstScriptTag.parentNode.insertBefore(newScriptTag,firstScriptTag),_setCookieSec("ekams.dupl","ekams.dupl",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.