Framebuster... buster?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • U. Cortez - Research

    #1

    Framebuster... buster?

    I would like to find a way to get around framebusters. If you're
    unfamiliar with a framebuster, its code looks something like:

    if (location != top.location ) {
    top.location = location;
    }

    and their purpose is to redirect to the page so that any frames that
    might exist dissappear.

    I want to have a frame that always remains there even if the other
    frame in the window goes to a site with the framebuster script. Any
    workarounds or ways to circumvent it?

    Thanks.

    U.

  • Evertjan.

    #2
    Re: Framebuster... buster?

    U. Cortez - Research wrote on 07 mrt 2005 in comp.lang.javas cript:
    [color=blue]
    > I would like to find a way to get around framebusters. If you're
    > unfamiliar with a framebuster, its code looks something like:
    >
    > if (location != top.location ) {
    > top.location = location;
    >}
    >
    > and their purpose is to redirect to the page so that any frames that
    > might exist dissappear.
    >
    > I want to have a frame that always remains there even if the other
    > frame in the window goes to a site with the framebuster script. Any
    > workarounds or ways to circumvent it?[/color]

    I suppose you mean this?

    if (top.location!= 'http://mysite.com/myFramesetpage. html')
    top.location='h ttp://mysite.com/myFramesetpage. html'

    --
    Evertjan.
    The Netherlands.
    (Replace all crosses with dots in my emailaddress)

    Comment

    • Lars Eighner

      #3
      Re: Framebuster... buster?

      In our last episode,
      <1110222784.788 547.61280@f14g2 000cwb.googlegr oups.com>,
      the lovely and talented U. Cortez - Research
      broadcast on comp.lang.javas cript:
      [color=blue]
      > I would like to find a way to get around framebusters. If you're
      > unfamiliar with a framebuster, its code looks something like:[/color]
      [color=blue]
      > if (location != top.location ) {
      > top.location = location;
      > }[/color]
      [color=blue]
      > and their purpose is to redirect to the page so that any frames that
      > might exist dissappear.[/color]
      [color=blue]
      > I want to have a frame that always remains there even if the other
      > frame in the window goes to a site with the framebuster script. Any
      > workarounds or ways to circumvent it?[/color]

      Fortunately you cannot make other people provide you with
      content for your site if they want to prevent it.

      I suppose the idea of NOT STEALING has never crossed your mind.


      --
      Lars Eighner eighner@io.com http://www.io.com/~eighner/
      Love is the only game that is not called on account of darkness.

      Comment

      • David Dorward

        #4
        Re: Framebuster... buster?

        U. Cortez - Research wrote:
        [color=blue]
        > I would like to find a way to get around framebusters.[/color]

        You can't. Stop trying to put other people's content into your frames
        against their express wishes (for that matter, don't try to do it unless
        you have express permission).

        --
        David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
        Home is where the ~/.bashrc is

        Comment

        • U. Cortez - Research

          #5
          Re: Framebuster... buster?

          First, I'm not trying to steal content. The intent is for personal use
          so I can just have a personalized frame on the top of any of my
          browsing windows.

          Technically, the framebuster can itself be "busted" simply by disabling
          javascript. But unfortunately, I want to keep javascript enabled for
          my browser (as my personalized frame itself will contain some js).

          Comment

          • Lasse Reichstein Nielsen

            #6
            Re: Framebuster... buster?

            "U. Cortez - Research" <goodbadskinnee @yahoo.com> writes:
            [color=blue]
            > First, I'm not trying to steal content. The intent is for personal use
            > so I can just have a personalized frame on the top of any of my
            > browsing windows.[/color]

            If it's only for yourself, there is a way *if* you use IE.

            An HTML application gives extra power to the web page, and constrains
            embedded pages from knowing that they are so. Quote:
            ---
            HTAs are designed such that untrusted HTML frames and iframes have
            no script access to the HTA containing them. In the case of frames
            that are not HTA-enabled, the highest level frame comprises the top
            window for all frames it contains. For that frame, window.top and
            window.self are one and the same. In addition, unsafe frames and
            iframes receive neither a referrer nor an opener URL from the parent
            HTA. The end result is that they are unaware of the containing HTA
            as the parent window.
            ---
            from
            <URL:http://msdn.microsoft. com/workshop/author/hta/overview/htaoverview.asp >

            If you don't use IE (I wouldn't :), I don't know a way (but then I would
            just make a sidebar with the functionality I want).

            /L
            --
            Lasse Reichstein Nielsen - lrn@hotpop.com
            DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
            'Faith without judgement merely degrades the spirit divine.'

            Comment

            • kaeli

              #7
              Re: Framebuster... buster?

              In article <1110224466.144 244.81590@o13g2 000cwo.googlegr oups.com>,
              goodbadskinnee@ yahoo.com enlightened us with...
              [color=blue]
              > Technically, the framebuster can itself be "busted" simply by disabling
              > javascript. But unfortunately, I want to keep javascript enabled for
              > my browser (as my personalized frame itself will contain some js).
              >
              >[/color]

              A lot of framed sites assume they are in their own frames and address their
              frames as top.framename. You'll break any of that if you manage to get around
              it.

              Although IMNSHO, frames need to be buried a long awaited death anyways. ;)

              --
              --
              ~kaeli~
              Can you be a closet claustrophobic?



              Comment

              • Matt Kruse

                #8
                Re: Framebuster... buster?

                David Dorward wrote:[color=blue]
                > You can't. Stop trying to put other people's content into your frames
                > against their express wishes (for that matter, don't try to do it
                > unless you have express permission).[/color]

                Lars Eighner wrote:[color=blue]
                > Fortunately you cannot make other people provide you with
                > content for your site if they want to prevent it.
                > I suppose the idea of NOT STEALING has never crossed your mind.[/color]

                God, guys, chill out. Don't be jerks just because your minds cant envision
                an application of the question other than the conclusions you immediately
                jump to.

                To answer the original question... I've not found a satisfactory way to do
                this (which is absurd, really).
                Rather, consider using a custom toolbar, or custom context menus in your
                browser, depending on what it supports. You can do whatever you want with
                those, and that might cover your needs.

                --
                Matt Kruse



                Comment

                • Randy Webb

                  #9
                  Re: Framebuster... buster?

                  U. Cortez - Research wrote:
                  [color=blue]
                  > First, I'm not trying to steal content. The intent is for personal use
                  > so I can just have a personalized frame on the top of any of my
                  > browsing windows.
                  >
                  > Technically, the framebuster can itself be "busted" simply by disabling
                  > javascript. But unfortunately, I want to keep javascript enabled for
                  > my browser (as my personalized frame itself will contain some js).[/color]

                  Use Mozilla, install the Prefs Bar, disable JS, navigate, re-enable it
                  on the fly.

                  Or as Lasse posted, use an .hta in IE

                  --
                  Randy
                  comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly

                  Comment

                  Working...