update dependencies and @vencord/types package
This commit is contained in:
parent
05566aed15
commit
edf6480b8f
14 changed files with 606 additions and 1063 deletions
|
|
@ -10,7 +10,7 @@ import adguard from "file://adguard.js?minify";
|
|||
|
||||
app.on("browser-window-created", (_, win) => {
|
||||
win.webContents.on("frame-created", (_, { frame }) => {
|
||||
frame.once("dom-ready", () => {
|
||||
frame?.once("dom-ready", () => {
|
||||
if (!RendererSettings.store.plugins?.YoutubeAdblock?.enabled) return;
|
||||
|
||||
if (frame.url.includes("youtube.com/embed/") || (frame.url.includes("discordsays") && frame.url.includes("youtube.com"))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue