RE: [MacPerl-WebCGI] Fudging the "Location:" bar in the browser

[email protected] (Pete Prodoehl) Wed, 14 Mar 2001 16:28:04 -0600
Newsgroups perl.macperl.webcgi
Message-ID <[email protected]>
Well, if you like JavaScript, just add some code to display whatever you
want...

Something like this should work:

>   <a href="http://foo.com/foo.cgi?blah"
> onMouseOver="window.status='http://foo.com/foo'; return true" >LINK</a>
> 
> 
Pete



> ----------
> From: 	avimit
> Sent: 	Tuesday, March 13, 2001 7:36 AM
> To: 	[email protected]
> Cc: 	[email protected]
> Subject: 	[MacPerl-WebCGI] Fudging the "Location:" bar in the browser
> 
> U Wrote:
> 
> This is possible by creating a frameset at http://www.abc.com/def and
> having
> 1 frame that links to http://www.abc.com/def?ghi=123
> 
> In response to:
> 
> > I think there is a way to put a "fake" URL in the Browser's
> > "Location:" bar, but I can't seem to find it in any of my
> > references.
> >
> > For instance, if I wanted to link the user over to:
> >
> >   http://www.abc.com/def?ghi=123
> >
> > but have the "Location:" bar say
> >
> >   http://www.abc.com/def
> 
> My COMMENTS:
> -----------
> What a stupid answer it is.
> You do not know that the person can modify
> http://www.abc.com/def?ghi=123 only,
> because it is his own site and want to fake
> http://www.abc.com/def
> because it is NOT his site. and Hence cannot modify it.
> So advice for a better answer.
> 
>