owo-vencord/browser/content.js

9 lines
278 B
JavaScript
Raw Normal View History

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