-
February 2nd, 2011, 10:32 AM
#1
replace DNS error page
Hi,
I have a problem and I need some help.
I work on a BHO and I have to replace the IE's DNS error page with my custom page. Does anyone know how to do it?
-
February 2nd, 2011, 11:20 AM
#2
Re: replace DNS error page
Not sure which error you refer to. but it's probably one of the special "about:" URI's
Look at the URL bar and take note of the URI.
In your BHO, when you see an attempt to browse to that URI, simply cancel and provide your own contents (or allow the navigate and then modify the page as desired).
It's also possible you're seeing a page from a remote site (or your router/proxy software) in response to trying to accessing a certain URL. If this is the case you probably can't do much about it other than parsing the contents to see what it is and take steps post navigate.
-
February 3rd, 2011, 03:34 AM
#3
Re: replace DNS error page
When you type a dns that doesn't exists IE shows "Internet Explorer cannot display the webpage". I did like you said but I cannot catch refresh event from BHO.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|