This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// break out of frames to avoid cross-frame scripting as per security compliance report 7/2014 | |
if (top.frames.length!=0) | |
{ | |
// Prevent modals from breaking on KDMD site. | |
if(document.referrer.indexOf("kdmd.qedgroupllc.com") > 0) | |
{ | |
return; | |
} | |
//Only break out if the iframe is cross-domain to avoid breaking our own modals | |
else(!(document.referrer.indexOf(self.document.location.protocol + "//" + self.document.location.host) === 0)) |