feat: Experimental browser support
This commit is contained in:
10
browser/content.js
Normal file
10
browser/content.js
Normal file
@ -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);
|
Reference in New Issue
Block a user