How to set ‘X-Frame-Options’ on iframe?
If I create an iframe like this: var dialog = $(‘<div id=”‘ + dialogId + ‘” align=”center”><iframe id=”‘ + frameId + ‘” src=”‘ + url + ‘” width=”100%” frameborder=”0″ height=”‘+frameHeightForIe8+'” data-ssotoken=”‘ + token + ‘”></iframe></div>’).dialog({ How can I fix the error: Refused to display ‘https://www.google.com.ua/?gws_rd=ssl’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’. with … Read more