From 9c196843ef22dbfc814e19e5210472bc7c33a9b0 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 21 Jul 2023 16:21:28 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Cberarbeitet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/games/3ds/index.html | 396 ++++++++++++++++++++++++++++++++++++ static/games/3ds/index.js | 21 -- 2 files changed, 396 insertions(+), 21 deletions(-) create mode 100644 static/games/3ds/index.html delete mode 100644 static/games/3ds/index.js diff --git a/static/games/3ds/index.html b/static/games/3ds/index.html new file mode 100644 index 0000000..7de2854 --- /dev/null +++ b/static/games/3ds/index.html @@ -0,0 +1,396 @@ + + + + + + + + + Projekt + + + + + +
+ + + +
+ + + +
+
+ + + + + + + + + + + diff --git a/static/games/3ds/index.js b/static/games/3ds/index.js deleted file mode 100644 index adff523..0000000 --- a/static/games/3ds/index.js +++ /dev/null @@ -1,21 +0,0 @@ -(function() { - function myExtension() {} - - myExtension.prototype.connectToWiFi = function(networkName, password) { - // Überprüfe, ob die "navigator.connection" API unterstützt wird - if ('connection' in navigator && 'wifi' in navigator.connection) { - // Verbinde mit dem WLAN - navigator.connection.wifi.associate({ ssid: networkName, password: password }) - .then(function() { - console.log("Verbindung hergestellt"); - }) - .catch(function(error) { - console.log("Fehler bei der Verbindung:", error); - }); - } else { - console.log("Die WLAN-Verbindung wird von dieser Plattform nicht unterstützt."); - } - }; - - Scratch.extensions.register(new myExtension()); -})(); \ No newline at end of file