Page 1 of 1

How to hiddenly show another page in IE?

Posted: Fri Sep 15, 2006 6:02 pm
by thamarok
Hello!

I want to make a surprise for my friend, because he has birthday on 28th of September (it's about after 2 weeks!)

I know that he visits everyday the IGN Reviews page (http://www.ign.com/index/reviews.html) and now, I want to have a program that runs hiddenly and everytime when he visits the IGN Reviews page, IE shows the page that I designed for him instead of the IGN Reviews page. But, the transfer to my page (which will be located on his hardrive) should be transparent, so that the IE address bar won't change.

I have bought him Steinberg Cubase SX, because he has wished it for months. And my page is just a simple HTML page with a link to the Steinberg Cubase folder.

When his birthday comes, I'll call my friends to come over to his house and I'll say them that they should go out to play football or whatever.. In the meantime, I'll install my program and I'll locate the HTML pages to a place where he won't find them. Then I'll install Cubase SX and configure my application to point to the folder where my HTML pages reside and I'll quickly edit the link on the page to point to the Cubase folder.

After we will have a nice day, in a couple of days I am sure that he gets to know it, and when he knows it, I'll go over to him and uninstall my application so he will be able to view the IGN Reviews page.

Does anybody have any clue on how to do this? I have only 2 weeks left to make everything ready, so time is getting close.

Thank you! Any kind of help is very appreciated!

Posted: Fri Sep 15, 2006 6:06 pm
by Trond
It's easier if the file with the link is online. Then you only need to edit the hosts file. (Google hosts file.)

Posted: Fri Sep 15, 2006 6:09 pm
by thamarok
Trond wrote:It's easier if the file with the link is online. Then you only need to edit the hosts file. (Google hosts file.)
Interesting, maybe there's a workaround to use the hosts file to point to a local file? I would like to keep things private, so they have to be local.

Thanks anyway!

Posted: Sat Sep 16, 2006 1:17 am
by John Bedlam
Well, you could code a webserver.

Posted: Sat Sep 16, 2006 7:40 am
by thamarok
John Bedlam wrote:Well, you could code a webserver.
How would that function? I mean sure a webserver I know what it is, but how will it communicate with IE?

Posted: Sat Sep 16, 2006 10:55 am
by yoxola
How about make a program that pop-up a window on Sep,28, shows the gift you give?

It's pretty easy to make a schedule or put in startup program.

Posted: Wed Sep 20, 2006 1:16 pm
by thamarok
yoxola wrote:How about make a program that pop-up a window on Sep,28, shows the gift you give?

It's pretty easy to make a schedule or put in startup program.
That's also a pretty good idea. But my main direction was to hiddenly show a page in IE.

However, Trond, you said:
It's easier if the file with the link is online. Then you only need to edit the hosts file. (Google hosts file.)
Well, now I found a good free webhost and I have uploaded my page there. I also Googled for "hosts file" and "redirect page in hosts file" but I didn't find anything. Do you know how to redirect a page through the hosts file?

Thank you!