Does anyone know if there is a way to identify/disable codes that break frames?
Thanks in advance!
Moderator: General Moderators
Code: Select all
<script type="text/javascript" defer="defer">
if(self != top) top.location = location;
</script>Ah. I didn't think about it that way. Yes, you could scrape the site, and remove the script tag contents, and then display that code. Of course, the arguments about copyright, your rights to do so, and so on are all extremely important then.d11wtq wrote:You *can* if you interfere with the code by importing it using PHP
Code: Select all
<iframe src=" somepage.html" security=restricted></iframe>Code: Select all
<html>
<body>
<script>
function test(e) {
window.setTimeout ("stop();", 1);
}
window.onbeforeunload = test;
</script>
<iframe src="http://hackthissite.org/" />
</body>
</html>