diff options
Diffstat (limited to 'browser/content.js')
-rw-r--r-- | browser/content.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/browser/content.js b/browser/content.js index e47ef83..4810fe3 100644 --- a/browser/content.js +++ b/browser/content.js @@ -4,6 +4,11 @@ if (typeof browser === "undefined") { const script = document.createElement("script"); script.src = browser.runtime.getURL("dist/Vencord.js"); +script.id = "vencord-script"; +Object.assign(script.dataset, { + extensionBaseUrl: browser.runtime.getURL(""), + version: browser.runtime.getManifest().version +}); const style = document.createElement("link"); style.type = "text/css"; |