Web Analytics Made Easy -
StatCounter URL/Address Field - CodingForum

Announcement

Collapse
No announcement yet.

URL/Address Field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • URL/Address Field

    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???

    Thanx!!!!
    - Mgkeeper

  • #2
    The URL "trick" is simply a framed page wherein one frame has a size of "0". For example:

    <html>
    <head>
    </head>
    <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">
    <noframes>
    <body topmargin="0" leftmargin="0">
    <p>This page uses frames, but your browser doesn't support them.</p>
    </body>
    </noframes>
    </frameset>
    </html>

    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 .
    Gordo
    "In the End, we will remember not the words of our enemies, but the silence of our friends."
    - Martin Luther King Jr. (1929-1968)

    Comment


    • #3
      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??

      Comment

      Working...
      X