Hello Motsu,
Really enjoy this website, I know it has been a long time since you have made a change to the project, did you reverse engineer a larger project when you built it?
Looking for other websites that do this well (terminal emulator).
Im in the process of reverse engineering your website to one of mine. I will link you credit in a description somewhere on the website.
This is the best site I have seen that serves as as a terminal emulator.
- glitch.js when logged in as root == 👌
- addText function == 💯
The Issue:
https://seeingbinary.com/ has 3 errors in the console.log
They are caused in the addText function, specifically the jquery of welcome.txt:
let Typer.index = 0
let Typer.speed = 2
Typer.index+=Typer.speed
var text=Typer.text.substring(0,Typer.index)
$("#console").html(text.replace(rtn,"<br/>"));
As shown below the browser is calling $( ... but does not complete the script.

Fix no.1:
Wrap $("#console").html(text) in a try catch. Pull Request: #2
Fix no.2:
Welcome .txt right now is stored in a single variable.
The file could be separated into a first section leading up to the script section,
The script section that removes the previous section and then the final section.
Inside the t function:
Typer.section = 'section1'
Typer.text='file1'
var timer = setInterval("t();", 30);
function t() {
if(Typer.section == 'section1' || Typer.section == 'section2' )
{
Typer.addText({"keyCode": 123748});
if(Typer.section == 'section1' && Typer.index > Typer.text.length) {
$("#console").html('<script>$('span[id="fake_login"]').remove();</script>');
Typer.text = 'file2'
Typer.section = 'section2';
Typer.index=0;
}
if (Typer.index > Typer.section == 'section2' && Typer.text.length) {
clearInterval(timer);
}
}
Hello Motsu,
Really enjoy this website, I know it has been a long time since you have made a change to the project, did you reverse engineer a larger project when you built it?
Looking for other websites that do this well (terminal emulator).
Im in the process of reverse engineering your website to one of mine. I will link you credit in a description somewhere on the website.
This is the best site I have seen that serves as as a terminal emulator.
The Issue:
https://seeingbinary.com/ has 3 errors in the console.log
They are caused in the addText function, specifically the jquery of welcome.txt:
Fix no.1:
Wrap $("#console").html(text) in a try catch. Pull Request: #2
Fix no.2:
Welcome .txt right now is stored in a single variable.
The file could be separated into a first section leading up to the script section,
The script section that removes the previous section and then the final section.
Inside the t function: