From 04a2ef56bc234e7e76ac1745a31871efbe66bf38 Mon Sep 17 00:00:00 2001 From: Adil Sadqi <42699429+AdilSadqi@users.noreply.github.com> Date: Sun, 10 Sep 2023 20:34:24 +0100 Subject: [PATCH] commands.js.download --- index_files/commands.js.download | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/index_files/commands.js.download b/index_files/commands.js.download index 2f5f1a9..538e280 100644 --- a/index_files/commands.js.download +++ b/index_files/commands.js.download @@ -151,20 +151,6 @@ root = [ "
", ] -// First, define the audio element and script outside the banner array -var audioElement = document.createElement("audio"); -audioElement.id = "sound"; -audioElement.src = "Sound.mp3"; - -function playSound() { - var sound = document.getElementById("sound"); - sound.play(); -} - -window.addEventListener("load", playSound); - -// Now, define your banner array with the HTML content - banner = [ 'Adil Sadqi Not A Corporation. No Rights reserved.', @@ -179,8 +165,9 @@ banner = [ " ", "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~", - '', - 'Welcome to my interactive web terminal.', - "For a list of available commands, type 'help' Or type 'windows' For Windows Version. ", + '', + 'Welcome to my interactive web terminal.', + '
Current Date and Time: Loading...
', + '
Local IP Address: Loading...
', + "For a list of available commands, type 'help' Or type 'windows' For Windows Version. ", ]; -