Vencord/browser/content.js

9 lines
278 B
JavaScript
Raw Normal View History

2022-10-03 22:52:42 +00:00
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);