BeepPadUI/Workflow/shared/ccc.js
//check if page inside iframe is on a different domain
check if page inside iframe is on a different domain
check if page inside iframe is on a different domain
function canAccessIframe(iframe) {
	try {
		var doc = iframe.contentWindow.document;
    }
	catch(err){
      return false;
    }
	return true;
}
function canAccessIframe ( iframe ) { try { var doc = iframe . contentWindow . document ; } catch ( err ) { return false ; } return true ; }
check if page inside iframe is on a different domain
check if page inside iframe is on a different domain