PageSourceSearch

https://www.intel.co.jp/etc.clientlibs/settings/wcm/designs/ver/260203/intel/global/targetDataCookie.min.js

js intel.co.jp collected 2026-09-24 08:41:11 UTC 2,438 bytes, 6 lines download raw bytes

1var pathname,UNDEFINED="undefined";pathname=typeof CQ!==UNDEFINED&&typeof CQ.shared.XSS!==UNDEFINED?CQ.shared.XSS.getXSSValue(window.location.pathname):"/content/www/us/en/homepage.html";var intel=intel||{};intel.isIGHFCall=document.getElementById("recode50header");var targetObj={};
2function targetDataCookie(){try{var e="https:"===location.protocol,c=(-1!==document.cookie.indexOf("IGHFLoggedIn")||intel.isIGHFCall)&&-1!==document.cookie.indexOf("loadTarget"),f=null===localStorage.getItem("targetloaded"),b=pathname.replace(".html",""),k=null===localStorage.getItem("u_token");if(e&&c&&f&&k){e=function(a){console.log(a+"cookie deleted");var g="https:"===window.location.protocol?"; secure":"",h=new Date;h.setTime(h.getTime()-864E5);document.cookie=a+"\x3d; expires\x3d"+h.toGMTString()+
3g+"; path\x3d/; domain\x3d.intel.com"};c=function(){try{decodeURIComponent(localStorage.getItem("targetData")).split("|").map(function(a){if(1<a.split("\x3d").length){a=a.split("\x3d");var g=a[0];a=a[1];g&&(targetObj[g]=a)}})}catch(a){console.error("Exception while getting usertype and uniqueid for analytics",a)}};var d=new XMLHttpRequest;f="/libs/apps/intel/login.json/targetdata?path\x3d";if("www.intel.com"!==window.location.host&&intel.isIGHFCall&&(d.withCredentials="true",f="https://www.intel.com/libs/apps/intel/login.json/targetdata?ighf\x3dighf\x26path\x3d"),
4d.open("GET",f+b,!1),d.send(),200==d.status&&d.responseText){b={};try{b=JSON.parse(d.responseText)}catch(a){console.error("Response of targetData is invalid",a)}categoryHasConsent("functional")&&b.targetData&&(localStorage.setItem("targetData",b.targetData),localStorage.setItem("targetloaded","1"),c());"undefined"!==typeof b.u_token&&localStorage.setItem("u_token",b.u_token);b.targetData&&e("loadTarget")}}}catch(a){}}targetDataCookie();
5function categoryHasConsent(e){var c=localStorage.getItem("_wap_user_consent_str")||localStorage.getItem("_wap_default_user_consent_str");return c?0<=c.indexOf("all")||0<=c.indexOf(e):!0}
6document.addEventListener("wapPage",function(){window.wap_tms&&wap_tms.custom&&wap_tms.custom.setAndSendErpmId&&(console.log("calling setAndSendErpmId() function"),wap_tms.custom.setAndSendErpmId());window.wap_tms&&wap_tms.custom&&wap_tms.custom.trackLoginComplete&&targetObj.uniqueid&&targetObj.usertype&&(console.log("calling trackLoginComplete() function"),wap_tms.custom.trackLoginComplete(targetObj.uniqueid,targetObj.usertype))},{once:!0});

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.