• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    ERR_NAME_NOT_RESOLVED - custom message

    Opera for Windows
    1
    1
    1367
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jboswellopera2
      jboswellopera2 last edited by

      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?

      Reply Quote 0
        1 Reply Last reply
      • First post
        Last post

      Computer browsers

      • Opera for Windows
      • Opera for Mac
      • Opera for Linux
      • Opera beta version
      • Opera USB

      Mobile browsers

      • Opera for Android
      • Opera Mini
      • Opera Touch
      • Opera for basic phones

      • Add-ons
      • Opera account
      • Wallpapers
      • Opera Ads

      • Help & support
      • Opera blogs
      • Opera forums
      • Dev.Opera

      • Security
      • Privacy
      • Cookies Policy
      • EULA
      • Terms of Service

      • About Opera
      • Press info
      • Jobs
      • Investors
      • Become a partner
      • Contact us

      Follow Opera

      • Opera - Facebook
      • Opera - Twitter
      • Opera - YouTube
      • Opera - LinkedIn
      • Opera - Instagram

      © Opera Software 1995-