Vencord/browser/content.js

11 lines
316 B
JavaScript
Raw Normal View History

2022-10-03 18:52:42 -04:00
// 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);