So, ich habs malk so versucht, aber so hats nicht funktioniert.
HTML-Code:
<script language="JavaScript">
 if (parent.topframe.location != 'seite1.php?value1=34268322387') {
   blabla();
 }
 </script>
Dann versuch ichs einfach mal mit onUnload bzw. onLoad.