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

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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

#1 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 3,966
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 11 June 2011 - 07:41 PM

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.


#2 User is offline   Geej 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 572
  • Joined: 01-January 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 17 June 2011 - 04:02 AM

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

This post has been edited by Geej: 17 June 2011 - 06:50 AM


#3 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 3,966
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 21 June 2011 - 01:25 AM

Great, Geej, thanks! :thumbup
NoReopenLastSession=1 did it all right! :yes:

#4 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 3,966
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 26 July 2011 - 04:09 AM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy