PDA

View Full Version : Need Help to make the adress bar always say the same thing


zidane12
08-22-2002, 10:38 PM
How do I make the address bar of a browser always read the same thing even if they click a link. In other words how do I prevent the address bar from changing even though someone clicks a link. I want to do this to prevent leeching frmo my site. an example of this code could be found at www.freeroms.com just try clicking a link the adress bar will always read www.freeroms.com. How do they do that?And I don't pop up ads are an exception

Nightfire
08-22-2002, 11:01 PM
They've used frames on their site. This is the easiest way to keep your URL the same, but this does not and will not ever prevent "leaching". To prevent people stealing stuff, you'll need .htaccess (see the links on here http://www.javascriptkit.com/howto/htaccess.shtml for more details)

To view the proper page URL's, you simply right click on the link and click on "open in new window".


See http://www.javascriptkit.com/frame1.shtml for more info on how to create frames.

joh6nn
08-22-2002, 11:02 PM
that's done using frames. trust me on this one, that wouldn't prevent people from leeching off your site. if you want to keep people from leeching, you need to copyright your material, and set up server side precations, like .htacces files.

joh6nn
08-22-2002, 11:02 PM
...

it's eerie how similar our posts are.

Nightfire
08-22-2002, 11:03 PM
All great minds think alike :cool: :thumbsup:

zidane12
08-23-2002, 01:03 AM
like disabling right clicking and putting your own text in the status bar. Thanks for your help though. Visit my starting 8/25/02 at www.ageofempiresuniverse.com

starglow
08-23-2002, 01:16 AM
Originally posted by zidane12
like disabling right clicking and putting your own text in the status bar. Thanks for your help though. Visit my starting 8/25/02 at www.ageofempiresuniverse.com

right click "protection" does nothing and is only used to fool those who don't know any better. right clicking is merely a shortcut... you can bypass the right click protection by just going to view > source or file > edit

Nightfire
08-23-2002, 01:57 AM
The only way to prevent "leeching" is by .htaccess, not using no right click scripts or adding a scroller in the taskbar :confused: but if you still want them after we've said they don't do anything, then look at http://www.dynamicdrive.com and http://www.javascriptkit.com