According to error messages in Chrome console:
Refused to set unsafe header "Content-Length"
ShellInABox.sendRequest @ shell_in_a_box.js:178
ShellInABox.onReadyStateChange @ shell_in_a_box.js:206
(anonymous function) @ shell_in_a_box.js:183
(this.session ? '&session=' +
encodeURIComponent(this.session) : '&rooturl='+
encodeURIComponent(this.rooturl));
(this.session ? '&session=' +
encodeURIComponent(this.session) : '&rooturl='+
encodeURIComponent(this.rooturl));
- request.setRequestHeader('Content-Length', content.length);
request.onreadystatechange = function(shellInABox) {
return function() {
request.onreadystatechange = function(shellInABox) {
return function() {
'&height=' + this.terminalHeight +
'&session=' +encodeURIComponent(this.session)+
'&keys=' + encodeURIComponent(keys);
'&height=' + this.terminalHeight +
'&session=' +encodeURIComponent(this.session)+
'&keys=' + encodeURIComponent(keys);
- request.setRequestHeader('Content-Length', content.length);
request.onreadystatechange = function(shellInABox) {
return function() {
try {
request.onreadystatechange = function(shellInABox) {
return function() {
try {