From bf01385e408a8f6c6be738ee0e70b845055d13fe Mon Sep 17 00:00:00 2001 From: hackademix Date: Wed, 13 Nov 2024 00:44:39 +0100 Subject: [PATCH] [nscl] Switch WebGLHook implementation from patchWindow.js to Worlds.js. --- src/manifest.json | 7 +++++-- src/nscl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 8d2ca30..5a2ae65 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -101,6 +101,7 @@ "/nscl/common/CapsCSP.js", "/nscl/common/RequestKey.js", "/nscl/content/DocRewriter.js", + "/nscl/content/Worlds.js", "/nscl/content/patchWindow.js", "/nscl/content/patchWorkers.js", "/nscl/content/DocumentCSP.js", @@ -111,7 +112,7 @@ "content/onScriptDisabled.js", "content/staticNS.js", "/nscl/content/media.js", - "/nscl/content/webglHook.js", + "/nscl/content/WebGLHook.js", "/nscl/content/promptHook.js", "content/embeddingDocument.js", "content/content.js" @@ -126,7 +127,9 @@ "world": "MAIN", "js": [ "/nscl/main/uuid.js", - "/nscl/main/Worlds.js" + "/nscl/main/Worlds.js", + "/nscl/main/Worlds.main.js", + "/nscl/main/WebGLHook.main.js" ] }, { diff --git a/src/nscl b/src/nscl index 4e9966e..7a1f865 160000 --- a/src/nscl +++ b/src/nscl @@ -1 +1 @@ -Subproject commit 4e9966eeb7b50a68b05c079129a1dc6c666c1c8d +Subproject commit 7a1f86572c1ed0f1f81c22d71c0706fc8373cb5a