From 5d0593a9bce8985941c5e97aa9f6d2418bf33d1a Mon Sep 17 00:00:00 2001
From: Adil Sadqi <42699429+AdilSadqi@users.noreply.github.com>
Date: Sun, 10 Sep 2023 20:16:23 +0100
Subject: [PATCH] commands.js.download
---
index_files/commands.js.download | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/index_files/commands.js.download b/index_files/commands.js.download
index 0263b57..2f5f1a9 100644
--- a/index_files/commands.js.download
+++ b/index_files/commands.js.download
@@ -151,6 +151,20 @@ 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.',