Когда я делаю окно go в полноэкранном режиме, как сделать так, чтобы место замены оставалось в полноэкранном режиме?
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<meta charset="utf-8" />
</head>
<body>
<div class="buttons">
<div class="column-header">
</div>
<div align="center">
<input type="submit" id="btnFullScreen" name="btnFullScreen" value="Fullscreen" style="font-size:xx-large; font-weight:bold; width:500px; height:300px; text-align:center; background-color:#e87a3a; border-color:#3f464c" />
</div>
</div>
<script type="text/javascript">
$("#btnFullScreen").click(function () {
location.replace("/Home/About");
var el = document.documentElement,
rfs = el.requestFullscreen
|| el.webkitRequestFullScreen
|| el.mozRequestFullScreen
|| el.msRequestFullscreen
;
rfs.call(el);
});
</script>
</body>
</html>
И как сделать кнопку закрытия приложения в полноэкранном режиме?