Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry 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
    Regular Coder
    Join Date
    Jun 2002
    Location
    TEXAS . . . 'nuf said
    Posts
    468
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)

  • #3
    New Coder
    Join Date
    Jul 2002
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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??


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •