Vencord/browser/content.js
2022-10-22 01:22:44 +02:00

9 lines
278 B
JavaScript

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