aboutsummaryrefslogtreecommitdiff
path: root/browser/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/content.js')
-rw-r--r--browser/content.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/browser/content.js b/browser/content.js
new file mode 100644
index 0000000..5922e8f
--- /dev/null
+++ b/browser/content.js
@@ -0,0 +1,10 @@
+// This is just the bootstrap script
+
+if (typeof browser === "undefined") {
+ var browser = chrome;
+}
+
+var script = document.createElement("script");
+script.src = browser.runtime.getURL("dist/Vencord.js");
+// documentElement because we load before body/head are ready
+document.documentElement.appendChild(script);