owo-vencord/browser/content.js
2022-10-04 00:52:50 +02:00

10 lines
316 B
JavaScript

// 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);