Is there a way to prevent the error "This webpage is not available." from displaying within an iframe that displayed on another site?
For example, if I have a w
If you are doing anything on the server-side you can test that URL and see if it returns a 404 error
You can use the iframe's onerror=""
property to do something creative. Consider this:
<iframe src="foo.bar" onerror="this.location.reload();" />
Hope this helps
Edit: This no longer works.