Results 1 to 6 of 6

Thread: Disable a framekiller

  1. #1
    Join Date
    Nov 2009
    Location
    Isfahan, Iran
    Posts
    229
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default Disable a framekiller

    How can a framekiller be prevented from working?
    Note: I can't modify the top frame source code.

    Thanks in advance!
    Mike

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Do something that blocks whatever the framekiller is doing. But without a link to the page we can't suggest much.

    The problem is that both websites are trying to control the other and they are therefore fighting for control over the browser. Why do you need to do this?

    Is your page the top frame or the contained frame?

    There may also be TOS violations involved (either of your site, or the other, or both). Note that we don't support scripts that violate TOS. (Though if it is only your site being violated we can probably help.)


    The short answer to all of this is that you can't change what it's doing. All you could do is interfere with the process somehow, but that might have side effects or not always work.

    Note that there are domain restrictions on Javascript. You may not be able to do anything about a script operating on another domain. One option is to check if the page is contained in a frame or not (this is probably possible) and if so (or if not) then you can disable the page as needed.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Nov 2009
    Location
    Isfahan, Iran
    Posts
    229
    Thanks
    46
    Thanked 1 Time in 1 Post

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Remove the highlighted:

    Code:
    <body onload="breakout_of_frame()" class="loginBody">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Nov 2009
    Location
    Isfahan, Iran
    Posts
    229
    Thanks
    46
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by jscheuer1 View Post
    Remove the highlighted:

    Code:
    <body onload="breakout_of_frame()" class="loginBody">
    The direct solution, but the problem is I don't have access to the above page souce code either!

  6. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    if it's not your page, you shouldn't be trying to mess with it.


    Quote Originally Posted by djr33
    There may also be TOS violations involved (either of your site, or the other, or both). Note that we don't support scripts that violate TOS. (Though if it is only your site being violated we can probably help.)
    ...if there's more to the situation than that, perhaps you could explain and we might be able to help.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •