Krispy Kreme online ordering disrupted by cyberattack – Restaurant Dive
CONTINUE TO SITE ➞
if (typeof prestitialAds !== ‘undefined’ && prestitialAds.pageIsPrestitialEligible()) {
prestitialAds.showOverlay();
}
if (typeof prestitialAds !== ‘undefined’ && prestitialAds.pageIsPrestitialEligible()) {
prestitialAds.initialize(7);
prestitialAds.setPrestitialPossibleCookie();
var prestitial_ad_is_loaded = false;
var prestitial_ad_is_empty = false;
googletag.cmd.push(function () {
googletag.pubads().addEventListener(‘slotRenderEnded’, function (event) {
if (event.slot.getAdUnitPath() == ‘/21662595662/restaurantdive/restaurantdiveprestitial’) {
if (event.isEmpty || prestitialAds.testingNoAd()) {
prestitial_ad_is_empty = true;
prestitialAds.closePrestitial();
}
else {
prestitial_ad_is_loaded = true;
$.modal.close();
$(‘div#prestitial-init’).hide(); // hide the all white overlay
prestitialAds.setCookie(
“_prestitialViewed”,
(new Date()).getTime(),
prestitialAds.daysBetweenPrestitial
);
}
}
});
});
if (prestitialAds.testingNoAd()) {
} else {
waitToLoadAds.push(function() {
googletag.cmd.push(function () {
googletag.display(‘paychekgoeshere’);
});
});
}
setTimeout(
function () {
if (!prestitial_ad_is_loaded && !prestitialAds.overrideTimeout()) {
if (!prestitial_ad_is_empty) {
// if the prestitial is already hidden, then don’t hide it again.
if (!prestitialAds.prestitialAdIsClosed()) {
prestitialAds.closePrestitial();
prestitialAds.logClosePrestitialAdBy(‘failed’);
}
}
} else if (!prestitialAds.overrideTimeout()) {
setTimeout(
function () {
// if the prestitial is already hidden, then don’t hide it again.
if (!prestitialAds.prestitialAdIsClosed()) {
prestitialAds.closePrestitial();
prestitialAds.logClosePrestitialAdBy(‘timeout’);
}
},
prestitialAds.timeoutSeconds()
);
} else {
}
},
2900
);
prestitialAds.sentPrestitialEligibleEvent();
} else if (typeof prestitialAds !== ‘undefined’ && !prestitialAds.pageIsPrestitialEligible()){
prestitialAds.closePrestitial();
}
Deep Dive
Opinion
Library
Events
Press Releases
Topics
Sign up
Search
Sign up
An article from