update dependencies and @vencord/types package

This commit is contained in:
Vendicated 2025-02-18 15:23:20 +01:00
parent 05566aed15
commit edf6480b8f
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
14 changed files with 606 additions and 1063 deletions

View file

@ -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"))) {