From df477d0cd0b64d29556941edc0ac564a88813c18 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 12 Jun 2025 08:21:57 -0400 Subject: [PATCH] Make WebContextMenus AddBack Platform Dependent Enabled --- src/main/csp/index.ts | 1 - src/plugins/webContextMenus.web/index.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/csp/index.ts b/src/main/csp/index.ts index 8e7b10e6..ca17a9bb 100644 --- a/src/main/csp/index.ts +++ b/src/main/csp/index.ts @@ -54,7 +54,6 @@ export const CspPolicies: PolicyMap = { "ws.audioscrobbler.com": ConnectSrc, // Last.fm API "translate-pa.googleapis.com": ConnectSrc, // Google Translate API "*.vencord.dev": ImageSrc, // VenCloud (api.vencord.dev) and Badges (badges.vencord.dev) - "cloud.equicord.org": ConnectSrc, // EquiCLoud (cloud.equicord.org) "manti.vendicated.dev": ImageSrc, // ReviewDB API "decor.fieryflames.dev": ConnectSrc, // Decor API "ugc.decor.fieryflames.dev": ImageSrc, // Decor CDN diff --git a/src/plugins/webContextMenus.web/index.ts b/src/plugins/webContextMenus.web/index.ts index 8966e8b1..d1d6a59a 100644 --- a/src/plugins/webContextMenus.web/index.ts +++ b/src/plugins/webContextMenus.web/index.ts @@ -53,7 +53,7 @@ const settings = definePluginSettings({ addBack: { type: OptionType.BOOLEAN, description: "Add back the Discord context menus for images, links and the chat input bar", - default: true, + default: hideSetting, restartNeeded: true, // Web slate menu has proper spellcheck suggestions and image context menu is also pretty good, // so disable this by default. Vesktop just doesn't, so we force enable it there