Title: hide on error
Last modified: January 6, 2023

---

# hide on error

 *  Resolved [trentone](https://wordpress.org/support/users/trentone/)
 * (@trentone)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/hide-on-error/)
 * How to replace or hide iframe’s error message (browser error message)
 * Or better still hide the entire iframe
 * If the iframe doesn’t load correctly.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/hide-on-error/#post-16351166)
 * you can hide the iframe until the onload event is fired.
   See: “Hide the iframe
   until it is loaded” in the administration.
 * Do you have access to the iframe and can you can add Javascript there?
 * Because then you can use the advanced version what I write above. On the external
   workaround tab the setting is “Hide the iframe until it is loaded”
 * Best regards, Michael
 *  Thread Starter [trentone](https://wordpress.org/support/users/trentone/)
 * (@trentone)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/hide-on-error/#post-16351508)
 * Ok, I would look at the “Hide the iframe until it is loaded” feature. I only 
   have the iframe’s source link.
 * What I’m actually trying to prevent with this is the chrome error message :
 * –
   Web page not availableThe web page at ” iframe’s source link ” could not be
   loaded because:
 * net::ERR_EMPTY_RESPONSE
 * OR
 * **net:: ERR_PROXY_CONNECTION FAILED**
 * & other similar browser error messages and instead maybe display advanced iframe’s
   OWN customized error message ( that is if the plugin has provision for customized
   error messages )
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/hide-on-error/#post-16355777)
 * If you only have the link and you cannot add some Javascript then you need to
   check if the solution I already posted works for you.
 * Best regards, Michael

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘hide on error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-iframe/assets/icon-128x128.png?rev=1028488)
 * [Advanced iFrame](https://wordpress.org/plugins/advanced-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-iframe/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/hide-on-error/#post-16355777)
 * Status: resolved