View page source

Forum for discussions around the Basilisk web browser.

Moderator: satrow

dodona
Hobby Astronomer
Hobby Astronomer
Posts: 29
Joined: Mon, 18 Dec 2017, 08:50

View page source

Postby dodona » Thu, 08 Feb 2018, 21:29

did anybody beside me experiences, that 'View page source' fails, .ie just opening an empty browser tab?
Try out http://spacewar.oversigma.com/ or this forum page.

User avatar
Isengrim
Fanatic
Fanatic
Posts: 148
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1

Re: View page source

Postby Isengrim » Thu, 08 Feb 2018, 22:24

The source shows just fine for me on 2018.02.02 (Windows 7 x64).

Code: Select all

<html>
<head>
<title>Spacewar! - Original 1962 code on PDP-1 emulator</title>
<meta name="keywords" content="Spacewar, game, original, PDP-1, emulator, gerasimov, silverman, Graetz, Russell, Wiitanen">
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<style type="text/css">@import "spacewar.css";</style>
<script type="text/javascript" src="spacewar.js"></script>
<script type="text/javascript" src="spacewar.bin.js"></script>
<script type="text/javascript">
  if (!document.createElement('canvas').getContext) {
    window.location = "nocanvas.html";
  }
</script>
</head>

<body onload="setup();">
<h1><font face="Arial"><font size="5">Spacewar!</font><br>
<font size="3">Original 1962 game code running on a PDP-1 emulator in JavaScript</font></font></h1>
<h1><a href = "readme.html"><font face="Arial" size="3">Readme</font></a></h1><p>
<div class="frame" id="frame">
<div class="spacewar">
<canvas class="spacewar" id="swcanvas"></canvas>
</div>
</div>
</body>
</html>


I also get an error in the console:

Code: Select all

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.


Edit: The source code for the forum also displays fine for me.
Last edited by Isengrim on Thu, 08 Feb 2018, 22:25, edited 1 time in total.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit)


Return to “Basilisk”

Who is online

Users browsing this forum: No registered users and 5 guests