View Full Version : URL/Address Field
07-06-2002, 06:35 AM
I've seen sites that do this but the webmasters wont tell me how to do this. Lets say the address is www.whatever.com
Well, they make it say www.whatever.com in the address bar no matter what page you are on. Like if you were on www.whatever.com/whatever.html it would still just say www.whatever.com in the address field. I really need this to protect my site from people learning the names of some of my pages.
Also, is there a script that disables earthlinks view source option in the toolbar???
07-06-2002, 07:27 AM
The URL "trick" is simply a framed page wherein one frame has a size of "0". For example:
<frameset framespacing="0" border="0" rows="0,*" frameborder="0">
<frame name="zero-frame" scrolling="no" noresize marginwidth="0" marginheight="0">
<frame name="main" src="whatever.html" target="_self">
<body topmargin="0" leftmargin="0">
<p>This page uses frames, but your browser doesn't support them.</p>
Of course, anyone will be able to get the URL of a general web page by viewing the "Properties" of your page (right-click).
IMO, protecting your source code is the biggest waste of time.
But, if you really want to put up a few preventative measures, search www.DynamicDrive.com for "protect source code" or something similar. There are a few scripts there.
You cannot remove the VIEW - SOURCE option from a browers toolbar.
You can also search something like Google for said scripts and get 10000+ results. Irregardless, most anyone here could get your source code in about 1-2 seconds.
And finally, http://continue.to/hope .
07-06-2002, 10:13 PM
Well, It's not working. I use server side includes and i think thats whats wrong. Is there a way i can use it with ssi??
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.