Answer the question
In order to leave comments, you need to log in
How to catch javascript error from CHROME console?
Namely, the error that appears when loading into an iframe of a third-party site.
Refused to display 'http://example.com/page' in a frame because it set 'X-Frame-Options' to 'deny'.
Answer the question
In order to leave comments, you need to log in
No way. This is a browser security policy limitation, not a script error.
why catch it? What's the point? this is a security policy, you cannot display the frame of another on some site (it’s true on many) if the goal is to bypass and display the frame, this can be done using the extension to chrome, there is no other way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question