Greasy Fork is available in English.

YouTube Remove Important Notifications

Sorts all notifications chronologically and hides section titles & borders.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

Для установки этого скрипта вам необходимо установить расширение, такое как Tampermonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

Автор
crazyrabbit0
Установок в день
0
Всего установок
7
Оценки
0 0 0
Версия
1.0
Создано
26.09.2025
Обновлено
19.10.2025
Размер
8,2 КБ
Лицензия
GPL-3.0-or-later
Работает на

What This Script Does

This script improves the YouTube notification experience by getting rid of the confusing "Important" section.

It also cleans up the interface by hiding the section titles and the dividing line between them.

The Problem it Solves

By default, YouTube's notification panel tries to be "smart" by creating an "Important" section. This often leads to:

  • Missed Notifications: Older but "important" notifications are placed at the top, pushing newer ones out of view.
  • Disrupted Flow: You have to check two different places to see what's new.
  • Mental Overhead: You can't just glance at the top of the list to see the latest activity.

This script fixes that by restoring a simple, logical, time-based order to all of your notifications.

Key Features

  • True Chronological Sorting: All notifications from both the "Important" and regular sections are merged and sorted purely by time.
  • Unified Notification View: Effectively removes the distinction between notification types, presenting them all in one continuous list.
  • Clean & Minimalist UI: Hides the unnecessary section headers and borders for a cleaner look.
  • Dynamic & Efficient: The script activates only when you click the notification bell.

How It Works (The Technical Details)

  1. Activation: The script waits for you to click the YouTube notification bell icon.
  2. Observation: Once the notification panel opens, it starts observing the panel for any changes (like new notifications being loaded).
  3. Parsing & Collection: It scans all visible notifications, reads the timestamp text, and converts it into a numerical value for sorting.
  4. Sorting & Re-ordering: It then re-arranges all the notification elements in the DOM, placing the newest ones at the top.
  5. Cleanup: Finally, it hides the section title elements and borders to create the clean, unified appearance.
  6. Debouncing: If YouTube loads many notifications at once, the script waits for all of them to load before performing a sort operation.

Important Note: Language Compatibility

  • This script works by reading the text of the timestamps (e.g., "hour", "day", "week").
  • It is designed and tested for English-language YouTube interfaces.
  • If your YouTube language is set to another language, the script will likely be unable to parse the timestamps and the sorting will fail.