Make frame load last loaded web page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • foldface@yahoo.co.uk

    Make frame load last loaded web page

    Hi
    I think from looking into google newsgroups history that you can't do this,
    however can someone confirm that:

    Using IE6
    Can you load a web page (say www.google.co.uk)
    Then move to a web page with 2 frames, the centre frame containing the
    last page visited, in this case google?

    I get the impression you can do this using netscape via history[-1]
    but not via IE which is a shame

    Thanks

    F
  • Ivo

    #2
    Re: Make frame load last loaded web page

    <foldface@yahoo .co.uk> wrote in message
    news:acb840c8.0 402270615.72c86 25@posting.goog le.com...[color=blue]
    > Hi
    > I think from looking into google newsgroups history that you can't do[/color]
    this,[color=blue]
    > however can someone confirm that:
    >
    > Using IE6
    > Can you load a web page (say www.google.co.uk)
    > Then move to a web page with 2 frames, the centre frame containing the
    > last page visited, in this case google?[/color]

    Which of the two is the one in the center? Surely you can build a frameset
    that will load the referrer in one frame, or even inline:
    <script type="youknow">
    document.write( '<iframe src="'+document .referrer+'"></iframe>' )
    <script>
    Ivo


    [color=blue]
    > I get the impression you can do this using netscape via history[-1]
    > but not via IE which is a shame
    >
    > Thanks
    >
    > F[/color]


    Comment

    • kaeli

      #3
      Re: Make frame load last loaded web page

      In article <acb840c8.04022 70615.72c8625@p osting.google.c om>,
      foldface@yahoo. co.uk enlightened us with...[color=blue]
      > Hi
      > I think from looking into google newsgroups history that you can't do this,
      > however can someone confirm that:
      >
      > Using IE6
      > Can you load a web page (say www.google.co.uk)
      > Then move to a web page with 2 frames, the centre frame containing the
      > last page visited, in this case google?
      >[/color]

      You want to stick someone else's site in your frames?
      Gosh, I hope that's not possible. Or at least not easy.

      Now, if it's your page and your frameset, sure, you do that by passing
      the name of the page to a dynamic frameset.

      --
      --
      ~kaeli~
      Experience is something you don't get until just after you
      need it.



      Comment

      • Richard Cornford

        #4
        Re: Make frame load last loaded web page

        kaeli wrote: <MPG.1aa9230b6c 871cf7989cc2@nn tp.lucent.com>
        <snip>[color=blue]
        > You want to stick someone else's site in your frames?
        > Gosh, I hope that's not possible. Or at least not easy.[/color]
        <snip>

        Unfortunately it is both possible and easy (subject to the
        document.referr er property being set/available client side (with
        scripting) or the referrer header being available server side). It is of
        questionable legality (copyright) and there is nothing you can do to
        stop any page loaded into a frame from breaking out and invading the top
        frame if it doesn't like where it finds itself loaded.

        Richard.


        Comment

        • optimistx

          #5
          Re: Make frame load last loaded web page

          Richard Cornford wrote:[color=blue]
          > kaeli wrote: <MPG.1aa9230b6c 871cf7989cc2@nn tp.lucent.com>
          > <snip>
          >[color=green]
          >>You want to stick someone else's site in your frames?
          >>Gosh, I hope that's not possible. Or at least not easy.[/color]
          >
          > <snip>
          >
          > Unfortunately it is both possible and easy (subject to the
          > document.referr er property being set/available client side (with
          > scripting) or the referrer header being available server side). It is of
          > questionable legality (copyright) and there is nothing you can do to
          > stop any page loaded into a frame from breaking out and invading the top
          > frame if it doesn't like where it finds itself loaded.
          >
          > Richard.[/color]

          Let us assume that

          a) I have my page in a frame and somebody else's page in another frame.
          I have frame borders and the title so that a typical user shoud
          understand that the pages come from different sources . The frames
          interact. Am I a good citizen?

          b) I have one window, and there is simultaneusly somebody else's window
          on the screen. In my program script I talk about the (for me known)
          alien window and e.g update my display based to that. Am I a good
          citizen and not violating laws?

          c) if I give to any users a program which does the above things, ...

          If I copy (!) a page from a server to my computer and utilize the page
          to my advantage, I am supposedly involved at least in copying and
          utilizing the copy to my advantage. As everyone is. What is the
          difference with this and the above talk about windows, frames, etc?



          Comment

          • kaeli

            #6
            Re: Make frame load last loaded web page

            In article <c1ntca$qig$1$8 302bc10@news.de mon.co.uk>,
            Richard@litotes .demon.co.uk enlightened us with...[color=blue]
            >
            > Unfortunately it is both possible and easy (subject to the
            > document.referr er property being set/available client side (with
            > scripting) or the referrer header being available server side). It is of
            > questionable legality (copyright) and there is nothing you can do to
            > stop any page loaded into a frame from breaking out and invading the top
            > frame if it doesn't like where it finds itself loaded.
            >[/color]


            Note to self: put break out of frames code on all pages and hope most
            people have JS enabled...


            --
            --
            ~kaeli~
            The more ridiculous a belief system, the higher probability
            of its success.



            Comment

            • foldface@yahoo.co.uk

              #7
              Re: Make frame load last loaded web page

              > I get the impression you can do this using netscape via history[-1][color=blue]
              > but not via IE which is a shame[/color]

              Loading someone elses page into a frame is trivial, I believe this
              is how domain name masking works normally, certainly on my website
              the real name is blah/blah/blah/..../blah.html and I just want to see
              http://www.sensibleaddress.com.
              There are tons of sites that do this already, but you can usually tell
              because the url doesn't change between page clicks.

              Anyway, thats easy but not want I want to do!

              I have a web page on my own site. When someone clicks on a button I want
              that page to be loaded into a frame and have other stuff loaded into the
              other frames, however I don't want to have to go through every page on my
              site to make a change to make that enabled.

              As I say, nothing dodgy occuring here, just javascript advice wanted!

              Comment

              Working...