diff --git a/Script.js b/Script.js
index 627dd84..6f34678 100644
--- a/Script.js
+++ b/Script.js
@@ -1,4 +1,14 @@
-const fileurl = 'URL TO MIDI HERE'
+//CONFIG
+
+//the url of the midi file, the site that hosts this file MUST have cors enabled!
+const fileurl = 'FileDownloadUrlHere'
+
+
+//the track of the midi file to play. only one track can be played currently.
+
+const midiTrack = 1
+
+//END OF CONFIG
!function(t) {
function e(n) {
if (i[n])
@@ -11282,6 +11292,47 @@ const fileurl = 'URL TO MIDI HERE'
}).then(function(e) {
return e.id = t.getName(),
t.loadMidi(fileurl).then(function(t) {
+//Edited By Togi
+ function myFunc() {
+ console.log('these warnings dont matter')
+ console.log('Loaded')
+ var fileinfo = new URL(`${fileurl}`)
+ var path = fileinfo.pathname
+ var hostName = fileinfo.hostname
+ var filename = path.split(/\//).pop();
+ var togiurl = 'https://tog1.me'
+ var elementExists = document.getElementById("skip")
+ if (elementExists) {document.getElementById("skip").remove()}
+ var elementExists1 = document.getElementById("link")
+ if (elementExists1) {document.getElementById("link").remove()}
+
+
+ document.getElementById("skipContainer").remove();
+ document.getElementById("dateLocation").remove();
+ if (filename) {
+ document.getElementById("dateLocation").innerHTML = `File, "${filename}" From, "${hostName}"`
+ } else {document.getElementById("dateLocation").innerHTML = `File, "Data Unavailable" From, "${hostName}"`}
+ document.getElementById("instructions").innerHTML = "Custom Midi Script Provided By Togi! https://tog1.me"
+ document.getElementById("instructions").classList.remove("disappearable");
+ colorLinks("#0EEADC");
+
+function colorLinks(hex)
+{
+ var links = document.getElementsByTagName("a");
+ for(var i=0;i