ERR_NAME_NOT_RESOLVED - custom message

  • I Use entries in my host files to block certain websites. Perhaps a bit old fashioned I know. I prefer this route as opposed to adblock extensions. When a website attempts to load iframes with url in my black list; an error is generated in the console log "Failed to load resource: ERR_NAME_NOT_RESOLVED" and if you inspect the element of the iframe on the page you are viewing; you can see the code opera has added in response to the unreachable iframe url. It basically creates that error message. "The website is unavailable etc... " I would like any suggestions as to a hack to make this message unseen. When a page spawn five iframes to sites i find untasteful I see the need to block them. But the messages themselves are just about as detracting from the content of the page. And I am aware of proxy programs about a decade old that used to serves this function before widespread extension use. This is something that should be implemented in the browser. I don't want a third party program adding overhead and scanning or rebuilding html. Perhaps Somehow adding a CSS value 'Display : none' in the stings file mentioned in the <script> comments of the Opera inserted html to the defunct iframe.

    It could be a browser feature allowing a user to select an image or css background to be displayed. The Best solution would be a tasteful place holder instead of the iframe content letting me know it was something I blocked. The second best is nothing at all. Display : none.

    Any suggestions guys / tweaks?

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.