aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-10-09 03:15:43 +0200
committerV <vendicated@riseup.net>2023-10-09 03:15:43 +0200
commitd81302f64c648f9eba0608ca0c9c6801a853f2b1 (patch)
tree8c27bc843a8956cef3e295456406ead787d9917b /src/plugins
parent390987e4a9d58c4c0eb9d4f6b4101ecf1203ccba (diff)
downloadVencord-d81302f64c648f9eba0608ca0c9c6801a853f2b1.tar.gz
Vencord-d81302f64c648f9eba0608ca0c9c6801a853f2b1.tar.bz2
Vencord-d81302f64c648f9eba0608ca0c9c6801a853f2b1.zip
Revert mozilla store compliance changes
This reverts commit 97b6699afefe373d510dda5589a0754a4b380153. Vencord is dropping support for the firefox extension, so these changes are now obsolete. revert so users can still install the extension manually and enjoy the full experience
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/_core/supportHelper.tsx19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx
index 2e86869..674be8e 100644
--- a/src/plugins/_core/supportHelper.tsx
+++ b/src/plugins/_core/supportHelper.tsx
@@ -17,7 +17,7 @@
*/
import { DataStore } from "@api/index";
-import { Devs, IsFirefox, SUPPORT_CHANNEL_ID } from "@utils/constants";
+import { Devs, SUPPORT_CHANNEL_ID } from "@utils/constants";
import { isPluginDev } from "@utils/misc";
import { makeCodeblock } from "@utils/text";
import definePlugin from "@utils/types";
@@ -30,7 +30,6 @@ import plugins from "~plugins";
import settings from "./settings";
const REMEMBER_DISMISS_KEY = "Vencord-SupportHelper-Dismiss";
-const FIREFOX_DISMISS_KEY = "Vencord-Firefox-Warning-Dismiss";
const AllowedChannelIds = [
SUPPORT_CHANNEL_ID,
@@ -116,22 +115,6 @@ ${makeCodeblock(enabledPlugins.join(", ") + "\n\n" + enabledApiPlugins.join(", "
onConfirm: rememberDismiss
});
}
-
- if (IsFirefox) {
- const rememberDismiss = () => DataStore.set(FIREFOX_DISMISS_KEY, true);
-
- Alerts.show({
- title: "Hold on!",
- body: <div>
- <Forms.FormText>You are using Firefox.</Forms.FormText>
- <Forms.FormText>Due to Firefox's stupid extension guidelines, most themes and many plugins will not function correctly.</Forms.FormText>
- <Forms.FormText>Do not report bugs. Do not ask for help with broken plugins.</Forms.FormText>
- <Forms.FormText>Instead, use a chromium browser, Discord Desktop, or Vesktop.</Forms.FormText>
- </div>,
- onCancel: rememberDismiss,
- onConfirm: rememberDismiss
- });
- }
}
}
});