x
 
<!DOCTYPE html>
<html>
<head>
<script>
function breakout() {
  if (window.top != window.self) {
    window.top.location = "/index.html";
  }
}
</script>
</head>
<body>
<input type="button" onclick="breakout()" value="跳出框架">
</body>
</html>