Forum Moderators: open

Message Too Old, No Replies

manipulate the address

Is there a way to manipulate the address bar on a viewers browser?

         

KG2RG

6:27 am on May 1, 2002 (gmt 0)

10+ Year Member



Is there a way to manipulate the address bar on a viewers browser? The true address displayed is [blue.com....] I would like viewers to see it say [red.net....] Is there a way to do this, maybe with Java, or a CGI perl script

DrDoc

6:35 am on May 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, there are two ways to do it .. but before I explain how, let me tell you that I personally do NOT like the idea of manipulating like that, and thereby deceiving the user. Anyway, here it goes ..

1) A not so pretty solution, but it works (sort of) .. use a JavaScript to remove the location bar .. Then simply use graphics to simulate the locationbar ..

2) This works far better, and is the solution to prefer .. All requests for [blue.com...] will redirect to [red.net...] .. There you'll have an index page with one frame, and in that frame load [blue.com...] as the first page ..

One must ask, why would you want to do this though??

KG2RG

8:17 pm on May 1, 2002 (gmt 0)

10+ Year Member



Hello DrDoc,

Thank you for responding. I have just bought a new domain name. We'll call it www.red.net. I transferred the name servers to zone edit. Zone edit is a website that allows you to manage up to 5 URL's for free. So I have www.red.net redirecting to www.blue.com. Zone edit has 2 options, cloaking and non-cloaking. I am using the non-cloaking because the cloaking doesn't allow any meta tags to be showing or anything. If a person saves the site in their favorites, it comes out as untitled document. So what I'm trying to do here is have www.red.net redirected to www. blue.com and in the address bar, instead of it showing www.blue.com, I would like the address bar to show www.red.net.

The solutions that you gave me on how to do this, I don't understand them. Can you be more specitic on how to do this? Thank you.

KG2RG

10:30 pm on May 1, 2002 (gmt 0)

10+ Year Member



Also, where can I find a JavaScript to remove the location bar? and what do you mean by simply use graphics to simulate the locationbar, how?