How to I disable the option to view the URL source of a page? (maybe Frame)

Discussion in 'HTML & Website Design' started by MosesTheTool, Jun 9, 2012.

  1. #1
    Hi, I'm new,
    *Cough* Welcome Moses!! *Cough*
    Why thank you!

    Anyway, I need to make a web page that will load a URL from outside the site, while keeping the viewer on the same page, and keeping him from knowing the source of the page that has loaded.
    In other words:
    -User clicks a link (address)
    -Address is Blabla1 for instance
    -A page will load with a URL from outside the site (Blabla2)
    -User think he is viewing page Blabla1

    I hope I made it clear, kinda confusing.

    I thought about using a Frame, but the viewer will still be able to know the source of the frames.

    Thanks up front for any answers ;)
     
    MosesTheTool, Jun 9, 2012 IP
  2. michaelhomas83

    michaelhomas83 Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    You do this by ............disable right click
     
    michaelhomas83, Jun 12, 2012 IP
  3. dollarfish

    dollarfish Member

    Messages:
    89
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    26
    #3
    You can disable right click but it's not complete solution for advanced users because they could see the source from the browser menu at the top. There is not way to hide the page source.
     
    dollarfish, Jun 12, 2012 IP
  4. MosesTheTool

    MosesTheTool Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    I don't really want to hide the page source, I just want to manipulate it in my advantage.

    I want that a person that goes to a certain link, sees the link he went to, and the page is a frame, and one of the pages in the frame is an outside page, and that he won't be able to see that in the source.
     
    MosesTheTool, Jun 12, 2012 IP
  5. kyferez

    kyferez Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Simplest solution: Use an iframe. If you want an old-style frame, use it. But it won't stop hardly anyone from obtaining the source... It's more trouble that it's worth...
     
    kyferez, Jun 12, 2012 IP
  6. MosesTheTool

    MosesTheTool Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    Still, an iFrame is "mentioned" in the source code, and the user will be able to see the SRC of the iFrame.
     
    MosesTheTool, Jun 12, 2012 IP