8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8096cd6 commit 03492feCopy full SHA for 03492fe
webrepl.html
@@ -97,6 +97,10 @@
97
98
(function() {
99
window.onload = function() {
100
+ var url 8DD3 span> = window.location.hash.substring(1);
101
+ if (url) {
102
+ document.getElementById('url').value = 'ws://' + url;
103
+ }
104
var size = calculate_size(self);
105
term = new Terminal({
106
cols: size[0],
@@ -149,6 +153,7 @@
149
153
}
150
154
151
155
function connect(url) {
156
+ window.location.hash = url.substring(5);
152
157
ws = new WebSocket(url);
158
ws.binaryType = 'arraybuffer';
159
ws.onopen = function() {
0 commit comments