0

What's a way to detect whether a website can be embedded or not because of the same-origin policy?

I have tried way to detect this but failed. I only found old method. But none of them work now.

KevinHu
  • 991
  • 3
  • 10
  • 20
  • Possible duplicate of [Check if same origin policy applies](https://stackoverflow.com/questions/9404793/check-if-same-origin-policy-applies) – Philip Sep 07 '17 at 09:45
  • I have tried load, pass message event, setTimeout..etc. still not work..maybe there is some example or answer recently? – KevinHu Sep 07 '17 at 09:57

0 Answers0