Kill the script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MeAgain

    Kill the script

    Hi
    I have an external website link on my webpage which open like all the link
    in TARGET frame.
    since last week the external link vendor put script in his page which
    refresh and remove my frame.
    How can I kill this script so it stays in my target frame???
    thanks
    the script is as below.
    """
    <script language="JavaS cript">
    <!--
    // Initialization

    function checkFrameset() {
    if (window.frames) {
    if (parent != self) {
    top.location.hr ef = self.location.h ref;
    }
    }
    return;
    }

    function pageSetup() {
    checkFrameset() ;
    // popup_ad();
    return;
    }

    //-->
    </script>
    """


  • Jürgen Riemer

    #2
    Re: Kill the script

    hi

    MeAgain wrote:[color=blue]
    > Hi
    > I have an external website link on my webpage which open like all the link
    > in TARGET frame.
    > since last week the external link vendor put script in his page which
    > refresh and remove my frame.
    > How can I kill this script so it stays in my target frame???
    > thanks
    > the script is as below.
    > """
    > <script language="JavaS cript">
    > <!--
    > // Initialization
    >
    > function checkFrameset() {
    > if (window.frames) {
    > if (parent != self) {
    > top.location.hr ef = self.location.h ref;
    > }
    > }
    > return;
    > }
    >
    > function pageSetup() {
    > checkFrameset() ;
    > // popup_ad();
    > return;
    > }
    >
    > //-->
    > </script>[/color]

    since the reloading is fired in a site other than your domain AFAIK you
    have no possibilty to cancel this "overloadin g" because access is denied
    (for good reason), maybe some regular in this groups knows some tricks
    but i doubt; simplest thing would be to simply open the page in a popup.

    lg

    mord

    Comment

    • Lasse Reichstein Nielsen

      #3
      Re: Kill the script

      "MeAgain" <gulbale@nowher e.xxx> writes:
      [color=blue]
      > I have an external website link on my webpage which open like all the link
      > in TARGET frame.[/color]

      Do you have the permission to frame the target page from its author?
      Otherwise, copyright law might see your page as an unlicensed
      derivative work.
      [color=blue]
      > since last week the external link vendor put script in his page which
      > refresh and remove my frame.
      > How can I kill this script so it stays in my target frame???[/color]

      Talk to him.

      Otherwise, you can't. Unless the brower gives your page more than the
      default privileges, you can't affect pages from other domains.

      For that to happen, you must control the browser, which means that
      it will probably only work for yourself.
      [color=blue]
      > <script language="JavaS cript">
      > <!--[/color]

      Since it is not your script, I won't be too critical. Just for the
      record, the above should be
      <script type="text/javascript">

      /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

      • Paul Cooper

        #4
        Re: Kill the script

        On 07 Nov 2003 19:10:14 +0100, Lasse Reichstein Nielsen
        <lrn@hotpop.com > wrote:
        [color=blue]
        >"MeAgain" <gulbale@nowher e.xxx> writes:
        >[color=green]
        >> I have an external website link on my webpage which open like all the link
        >> in TARGET frame.[/color]
        >
        >Do you have the permission to frame the target page from its author?
        >Otherwise, copyright law might see your page as an unlicensed
        >derivative work.
        >[color=green]
        >> since last week the external link vendor put script in his page which
        >> refresh and remove my frame.
        >> How can I kill this script so it stays in my target frame???[/color]
        >
        >Talk to him.
        >
        >Otherwise, you can't. Unless the brower gives your page more than the
        >default privileges, you can't affect pages from other domains.
        >
        >For that to happen, you must control the browser, which means that
        >it will probably only work for yourself.
        >[color=green]
        >> <script language="JavaS cript">
        >> <!--[/color]
        >
        >Since it is not your script, I won't be too critical. Just for the
        >record, the above should be
        > <script type="text/javascript">
        >
        >/L[/color]


        Just to elaborate on Lasse's answer, there is case history in the UK
        that says that opening another site's content in your own frame
        without the full context of the originating site is a breach of
        copyright, and may not take place without the consent of the other
        site's owner. Look up "Shetland Times" in your favourite search engine
        for the details - you'll get hundreds of links to what is a very
        important case. This
        (http://www.netlitigation.com/netliti...s/shetland.htm) is
        just one.

        Paul

        Comment

        Working...