Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL redirection without changing the current url

Status
Not open for further replies.
It is just an example given.It's not a realtime practise.
 
Maybe I didn't catch the idea. You're asking how to do that or is just an example and the question is anoher?

Cheers,
Dian
 
I have used frames to do it, but, now I want to do it using java script.

Kindly help.

 
I agree with Diancecht about that being deceptive/malware. Other than using frames, I can't think of any way to deceive the browser into displaying one URL when the actual URL is another.

You could use page scraping to get the contents of another page and insert it into the current page, but that would use server-side scripting (and I use Javascript ASP for that myself) or possibly AJAX.

Lee
 
I'd be dissapointed it there's a way to do it: I don't want to enter my personal data in a page thinking it's for example, my bank page while I actually was redirected ...

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top