How can a framekiller be prevented from working?
Note: I can't modify the top frame source code.
Thanks in advance!
Mike
How can a framekiller be prevented from working?
Note: I can't modify the top frame source code.
Thanks in advance!
Mike
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
Here's the iframe:
https://www.capnhq.gov/CAP.eServices.Web/default.aspx
Remove the highlighted:
Code:<bodyonload="breakout_of_frame()"class="loginBody">
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
if it's not your page, you shouldn't be trying to mess with it.
...if there's more to the situation than that, perhaps you could explain and we might be able to help.Originally Posted by djr33
Bookmarks