From: 2weiEmu Date: Wed, 29 Jan 2025 21:42:34 +0000 (+0100) Subject: added getting arguments X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=HEAD;p=creative-path-pep.git added getting arguments --- diff --git a/static/js/index.js b/static/js/index.js index 7905a73..a801436 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1 +1,4 @@ console.log("Loaded index.js") + +var ws_args = document.currentScript.getAttribute("args") +var argv = ws_args.split(" ")