Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

73 lines (71 sloc) 2.784 kB
<!DOCTYPE html>
<html manifest="manifest.appcache">
<meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta name="referrer" content="no-referrer"/>
<title>EtherCalc - Share the URL to your friends and edit together!</title>
if (!(window.location.hash.replace('#', ''))) {
if (window.location.href.match(/\/([^_][^\/]*)$/)) {
var SocialCalc = { _room: RegExp.$1 };
else {
window.location = './_start';
window.addEventListener("message", function(it){
if (/"type"\s*:\s*"multi"/.test( {
window.__MULTI__ = (function(){ try { return JSON.parse(; } catch (e$) {} }());
}, false);
<script src="./static/ethercalc.js"></script>
<script src="./"></script>
<script src="./zappa/zappa.js"></script>
<script src="./player/broadcast.js"></script>
<script src="./player/graph.js"></script>
<script src="./player/main.js"></script>
var readl10nfile = function(data) {
for (var k in data) {
SocialCalc.Constants[k] = data[k];
$.ajax({url: ("/l10n/" + navigator.language + ".json").replace(/de_\w+/, 'de').replace(/zh-Hant/i, 'zh-TW').replace(/fr_\w+/, 'fr'),
async: false,
success: function(data){readl10nfile(data)},
error: function() {
$.ajax({url: "/l10n/en.json",
async: false,
success: function(data){readl10nfile(data)},
error: function(){console.error("Language file not found.")}
<link rel="stylesheet" type="text/css" href="./static/socialcalc.css">
<link rel="stylesheet" type="text/css" href="./static/index.css">
<link rel="stylesheet" type="text/css" href="./static/vex.css">
<link rel="stylesheet" type="text/css" href="./static/vex-theme-flat-attack.css">
.testclass {border:2px dotted red;}
.testclass2 {background-image:url(/images/sc-logo.gif);}
.smaller {font-size:smaller;}
.hide {display:none;}
<body onresize="if (typeof doresize != 'undefined') doresize();">
<div id="msg" style="position:absolute;right:15px;top: 8px; bottom: 80px; display: none">
<textarea id="msgtext" style="margin-top:10px;width:110px;height:100%;"></textarea><br>
<form id="msgform">
<input type="text" id="msgout" name="msgout" style="width: 110px">
<input type="submit" style="font-size:x-small;" value="Add a line" onclick="val = document.getElementById('msgout').value; if (/\S/.test(val)) {SocialCalc.Callbacks.broadcast('chat', {msg: val}); addmsg(val, false); document.getElementById('msgout').value = ''}; return false"><br>
<div id="tableeditor">&nbsp;</div>
Jump to Line
Something went wrong with that request. Please try again.