message: Hide "used" buttons in notifications
diff: @@ -28,9 +28,19 @@ async function openNotifications({delegateTarget}) {
  action: 'openAllInTabs'
  });
  - // Mark all as read, this also enables the native "marked as read notification"
  - for (const button of select.all('.mark-all-as-read', container)) {
  - button.click();
  + // Mark all as read
  + for (const notification of select.all('.unread', container)) {
  + notification.classList.replace('unread', 'read');
  + }
  +
  + // Remove all now-useless buttons
  + for (const button of select.all(`
  + .rgh-open-notifications-button,
  + .open-repo-notifications,
  + .mark-all-as-read,
  + [href='#mark_as_read_confirm_box']
  + `, container)) {
  + button.remove();
  }
  }
  