From 666d82a06fd1f9fff47bc73f656f66a3492949f6 Mon Sep 17 00:00:00 2001 From: Nikita Starikov Date: Thu, 31 Mar 2022 14:07:42 +0500 Subject: [PATCH] Mute BrowserWindow audio to prevent sound playing Solves this issue: https://github.com/zolrath/obsidian-auto-link-title/issues/37 --- scraper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scraper.ts b/scraper.ts index c843771..d74c947 100644 --- a/scraper.ts +++ b/scraper.ts @@ -33,6 +33,7 @@ async function electronGetPageTitle(url: string): Promise { }, show: false, }); + window.webContents.setAudioMuted(true); await load(window, url);