BRAND NEW ON E!
objNoSearchBlock.html(""); // EOL: Now using the code that's still in memory, we can run this search: var strDom = document.body.innerHTML; var isNielsenFound = ((strDom.indexOf('ci=us-505504h&cg=0&') > -1) || (strDom.indexOf('ci=us-505504h&cg=0&') > -1) || (strDom.indexOf('ci%3Dus-505504h%26cg%3D0%26') > -1)); // Btw... We're looking for this: "ci=us-505504h&cg=0&" to make sure that we're not matching on "&cg=012345" or "&cg=event". // EOL: If not found, then makes the Nielsen SE blank pixel image tracking call: var useDebug = (location.href.indexOf('debug=Nielsen') > -1); if (!isNielsenFound) { if (typeof(eonline.nielsen.fbl) !== 'undefined') { eonline.nielsen.fbl("NBCUDigitalAdOps.com's Nielsen Tracking Code Not Found - Calling Eonline.com's nielsenStandardEvent() function.", useDebug); } if (typeof(eonline.nielsen.standardEvent) !== 'undefined') { eonline.nielsen.standardEvent('us', useDebug); } } else { if (typeof(eonline.nielsen.fbl) !== 'undefined') { eonline.nielsen.fbl("NBCUDigitalAdOps.com's Nielsen Tracking Code Detected - Skipping Eonline.com's Nielsen SE call to avoid double counting.", useDebug); } } if (typeof(eraseCookie) !== 'undefined') { eraseCookie('useNielsenDebugger'); } if (('photos' === 'photos') && ('gallery' === 'gallery') && (useDebug) && (typeof(createCookie) !== 'undefined')) { createCookie('useNielsenDebugger', useDebug, 1); } },500); }); }