Javascript Qu

They have: 2 posts

Joined: Jan 2002

Hey all,
I have recently started programming using java and was wondering how to change the homepage of the user of your site without a prompt. I know it is possible because I have seen it done but do not know how. Please help me do this.

Thanks in advance

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Welcome to TWF, mastermind.

Are you learning Java or JavaScript?

Anywhoo... I consider that immoral. So my lips are sealed.

Brian Farkas's picture

They have: 1,015 posts

Joined: Apr 1999

Hi Mastermind,
That is generally considered an unacceptable practice- we might be able to help you if you wanted to provide a link the user could click to make your site his/her home page, but setting a user's home page without asking is, as Mark said, "immoral".

Brian

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

I agree that it is wrong to do it without the visitor agreeing to it by actually making an informed choice. If I went to a site that did that I'd change it back to what I wanted and then never return to that site again!

Julia - if life was meant to be easy Michael Angelo would have painted the floor....

They have: 601 posts

Joined: Nov 2001

You were able to do this on Internet Explorers up to version 5.5. Versions 5.51 and above fixed this bug.

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Quote: Originally posted by Wil
You were able to do this on Internet Explorers up to version 5.5. Versions 5.51 and above fixed this bug.

And let other ones in. Sorry, just couldn't resist taking a swipe at IE6's insecurity.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

They have: 601 posts

Joined: Nov 2001

Wink

They have: 2 posts

Joined: Jan 2002

not a prob...didn't really think about the ethics behind it sorry to bother u guys thanks for your comments anyway!!
I will just use a prompt.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.