1

I try iframe its working fine in chrome but not working on Mozila and IE.

<iframe id="iframe1" src="https://stackoverflow.com/" width="200" height="100" border="2"></iframe>
Sankar
  • 6,908
  • 2
  • 30
  • 53
Asim Riaz
  • 11
  • 3
  • Actually it is working fine. Checked in Mozilla – Sankar Jan 04 '18 at 07:18
  • @Sankar not working i checked on mozila console the error shown"Load denied by X-Frame-Options: https://stackoverflow.com/ does not permit cross-origin framing." – Asim Riaz Jan 04 '18 at 07:21
  • My bad, I checked it in stack snippets. Some websites does not allow other website to frame their content. So they restricted that access from web server. You can't do anything with this. – Sankar Jan 04 '18 at 07:25
  • @Sankar if i add another site it will not open. can you have solution plz. – Asim Riaz Jan 04 '18 at 07:26
  • No you can't override this. You can see the same behaviour in Google, Yahoo... etc – Sankar Jan 04 '18 at 07:28
  • Possible duplicate of [Load denied by X-Frame-Options: does not permit framing](https://stackoverflow.com/questions/38699221/load-denied-by-x-frame-options-does-not-permit-framing) – Sankar Jan 04 '18 at 07:31
  • @Sankar any alternative solutions? – Asim Riaz Jan 04 '18 at 07:35

0 Answers0