changing address in address bar

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

changing address in address bar

Post by nickman013 »

Hello,

If I give someone the link to a webpage, is it possible to make the address in the address bar change to something else, but not load that address.. Is this possible with JS or is it illegal?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

As long as you control the address that is in the address bar, you can use frames.. but that is so 90's.
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

lol I see what you mean

put i want to give someone a link to a page i host.. and when they go to it.. it says ebay.com in the address bar or somthing? is that possible with frames?

thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

nope.
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Post by nickman013 »

Alright. Thanks Anyway!
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

I'm so glad that's not possible. Would be utterly impossible to surf the net. You'd never know were you'd end up...
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

matthijs wrote:I'm so glad that's not possible. Would be utterly impossible to surf the net. You'd never know were you'd end up...
Phishing scams come to mind :x
Post Reply