diff --git a/README.md b/README.md
index 4ea776d0..8432e0ed 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,9 @@
- filters for reactions:
- matching by regex, domain-specific, or catch-all
- filters the actual reactions to post as well as notifications
-- option to disable favicon badge when there's unread notifications
+- for unreads:
+ - option to disable favicon badge changing on unreads
+ - option to disable title showing unreads
---
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js
index e78f2c69..84099ed3 100644
--- a/src/components/notifications/notifications.js
+++ b/src/components/notifications/notifications.js
@@ -87,7 +87,8 @@ const Notifications = {
if (count > 0) {
if (this.$store.getters.mergedConfig.showFaviconBadge)
FaviconService.drawFaviconBadge()
- this.$store.dispatch('setPageTitle', `(${count})`)
+ if (this.$store.getters.mergedConfig.showUnreadInTitle)
+ this.$store.dispatch('setPageTitle', `(${count})`)
} else {
FaviconService.clearFaviconBadge()
this.$store.dispatch('setPageTitle', '')
diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue
index e0c63fc7..508f9a1b 100644
--- a/src/components/settings_modal/tabs/general_tab.vue
+++ b/src/components/settings_modal/tabs/general_tab.vue
@@ -709,69 +709,77 @@
-
-
{{ $t('settings.requires_refresh') }}
-
{{ $t('settings.requires_refresh_exp') }}
-
- -
-
- {{ $t('settings.auto_refresh_on_required') }}
-
-
- -
-
- {{ $t('settings.dedupe_boosts') }}
-
-
- -
-
- {{ $t('settings.show_favicon_badge') }}
-
-
-
-
+
{{ $t('settings.requires_refresh') }}
+
{{ $t('settings.requires_refresh_exp') }}
+
+ -
+
+ {{ $t('settings.auto_refresh_on_required') }}
+
+
+ -
+
+ {{ $t('settings.dedupe_boosts') }}
+
+
+ -
+
+ {{ $t('settings.show_favicon_badge') }}
+
+
+ -
+
+ {{ $t('settings.show_unread_in_title') }}
+
+
+
+
-
-
{{ $t('settings.silly_features') }}
-
- -
-
- {{ $t('settings.recurse_search') }}
-
-
- -
-
- {{ $t('settings.recurse_search_limit') }}
-
-
-
-
-
-
+
{{ $t('settings.silly_features') }}
+
+ -
+
+ {{ $t('settings.recurse_search') }}
+
+
+ -
+
+ {{ $t('settings.recurse_search_limit') }}
+
+
+
+
+
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 10116639..59e50515 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -784,6 +784,7 @@
"show_panel_nav_shortcuts": "Show timeline navigation shortcuts at the top of the panel",
"show_scrollbars": "Show side column's scrollbars",
"show_page_backgrounds": "Show page-specific backgrounds, e.g. for user profiles",
+ "show_unread_in_title": "Show (x) in title for unread notifications",
"show_wider_shortcuts": "Show wider gap between top panel shortcuts",
"show_yous": "Show (You)s",
"silly_features": "Silly features",
diff --git a/src/modules/config.js b/src/modules/config.js
index 5a558973..1506b06a 100644
--- a/src/modules/config.js
+++ b/src/modules/config.js
@@ -130,6 +130,7 @@ export const defaultState = {
dedupeBoosts: true,
showFaviconBadge: true,
autoRefreshOnRequired: true,
+ showUnreadInTitle: true,
renderMisskeyMarkdown: undefined,
renderMfmOnHover: undefined, // instance default
conversationDisplay: undefined, // instance default
diff --git a/src/modules/instance.js b/src/modules/instance.js
index a4fbc6ad..75dd6aa7 100644
--- a/src/modules/instance.js
+++ b/src/modules/instance.js
@@ -86,6 +86,7 @@ const defaultState = {
dedupeBoosts: true,
showFaviconBadge: true,
autoRefreshOnRequired: true,
+ showUnreadInTitle: true,
renderMisskeyMarkdown: true,
renderMfmOnHover: false,
conversationDisplay: 'linear',