Hiding iFrame Contents...is it possible?

Discussion in 'Programming' started by somethingbig, Apr 12, 2008.

Thread Status:
Not open for further replies.
  1. #1
    I haven't been able to figure out how to hide the contents of an iframe to IE's browsing history. NOT hide from the user...the user will browse the page in the iframe, but I want it hidden from the browser's history. I'm not sure if I would need to use javascript for this, php, whatever...and please keep in mind that I'm a complete newbie to all these languages.

    Visit: http://www.NetworkSeeker.com
    to see what this idea will basically be...kind of an internal browser that logs no history. any help would be greatly appreciated, thanks!
     
    somethingbig, Apr 12, 2008 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    You can do it this way:
    
    <iframe src="the_url_goes_here" width="0" height="0" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
    
    Code (markup):
     
    ajsa52, Apr 12, 2008 IP
  3. somethingbig

    somethingbig Banned

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't that completely hide the iFrame from visibility, though? I want the user to be able to surf the page normally, just without any history being logged.
     
    somethingbig, Apr 12, 2008 IP
  4. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #4
    I don't think the iframe shows in the history. The page on which it is included will show but the frame does not show seperately. IE7 that is.
     
    Colbyt, Apr 12, 2008 IP
  5. somethingbig

    somethingbig Banned

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Well it's showing up in IE 6. I need it to be hidden from at least most versions of IE, firefox, safari, etc.
     
    somethingbig, Apr 12, 2008 IP
  6. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Your method with iframes (or frames) will not work for many sites.
    Example: Fill the URL of my "recent blog feed" on your text field, and you'll see that your iframe dissapear.
    You're trying to make a proxy site ?
     
    ajsa52, Apr 12, 2008 IP
  7. somethingbig

    somethingbig Banned

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Not a proxy site...just a private browsing site. The idea is that you can privately browse without looking suspicious to people you live with, because first of all the history of other sites is still there, and also the tab says NetworkSeeker.com and not the real site.
     
    somethingbig, Apr 12, 2008 IP
  8. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #8
    Visit this page and see if they show lexkyweb.com/national_classifieds_main.htm

    If they don't, I will share the code with you.
     
    Colbyt, Apr 12, 2008 IP
  9. somethingbig

    somethingbig Banned

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes, that popped up in history. Thanks anyway!
     
    somethingbig, Apr 12, 2008 IP
Thread Status:
Not open for further replies.