Vencord/browser/content.js

9 lines
278 B
JavaScript
Raw Normal View History

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