mirror of
https://github.com/Equicord/Equicord.git
synced 2025-05-11 09:55:40 +02:00
feat: Experimental browser support
This commit is contained in:
parent
a9eae106c7
commit
cc25753314
14 changed files with 212 additions and 41 deletions
10
browser/content.js
Normal file
10
browser/content.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
// 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);
|
Loading…
Add table
Add a link
Reference in a new issue