diff --git a/index.html b/index.html
index 0a5a3b60..ee829e4d 100644
--- a/index.html
+++ b/index.html
@@ -15817,7 +15817,7 @@ behaviorRules = {
settings.invertscroll = true;
}
// detect if discord activity
- if (navigator.userAgent.match(/Discord/i)) {
+ if (location.hostname.match(/discordsays/i)) {
standalone = true;
standaloneType = "discord";
}