Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed May 26, 2024
1 parent 9fbb9fe commit 468f3c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/plugins/watchTogetherAdblock.desktop/adguard.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ const overrideObject = (obj, propertyName, overrideValue) => {
}
}
}
if (overriden) {
console.log("found: " + propertyName);
}
return overriden;
};
/**
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/watchTogetherAdblock.desktop/native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import adguard from "file://adguard.js?minify";
app.on("browser-window-created", (_, win) => {
win.webContents.on("frame-created", (_, { frame }) => {
frame.once("dom-ready", () => {
console.log(frame.url);
if (frame.url.includes("discordsays") && frame.url.includes("youtube.com")) {
console.log("injecting");
if (!RendererSettings.store.plugins?.WatchTogetherAdblock?.enabled) return;

frame.executeJavaScript(adguard);
Expand Down

0 comments on commit 468f3c1

Please sign in to comment.