Jump to content

[SOLVED] Auto-"go to homepage" in IE8... Is there a way to do


dencorso

Recommended Posts

When IE8 terminates unexpectedly, then is restarted, there comes a box offering to "restore last session" or "go to homepage" and it sits there until one of those buttons is clicked.

What I'm looking for is a way to make "go to homepage" default, preferably supressing the dialogue, too.

Is there any way to do it? Please advise.

PS: Of course I could use NirCMD to detect the dialogue box and send a click to it. But that's an ugly hack, since there is no way to predict when the box will be there and when it won't, and it won't be there most of the time. I hope there may be something neater than that.

Link to comment
Share on other sites


Maybe autoit can do it.

To click only 1 time after crash, maybe

$T1="Internet Explorer"
$T2="Go to home page"
Winwait ($T1,$T2)
Winactivate ($T1,$T2)
ControlClick ($T1,$T2,$T2)

To let the script run eternally,

$L=1
Do
$T1="Internet Explorer"
$T2="Go to home page"
Winwait ($T1,$T2)
Winactivate ($T1,$T2)
ControlClick ($T1,$T2,$T2)
$L = $L + 1
Until $L = -1

Edit:

Alternatively, see if this link helps

Edited by Geej
Link to comment
Share on other sites

  • 1 month later...

Well... sort of.

It seems I spoke too soon.

But now I've found the answer: :yes:

Go to Tools --> Internet Options --> Advanced --> Browsing and untick "Enable automatic crash recovery"

That suppresses the dialogue box, after IE crashes. And then it goes to the default homepage, as required.

I'm posting it here just for the record, so that others may find it, on searching.

Later edit: This solution has a serious downside, in that it makes IE8 much more prone to crash or close suddenly, as descibed and discussed here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...