message: Fix `hide-own-stars`
diff: -import select from 'select-dom';
  import * as pageDetect from 'github-url-detection';
  import features from '../feature-manager';
  @@ -6,22 +5,18 @@ import {getUsername} from '../github-helpers';
  import observe from '../helpers/selector-observer';
  function hide(item: HTMLElement): void {
  - if (select.exists(`a[href^="/${getUsername()!}"]`, item)) {
  - item.style.display = 'none';
  - }
  + item.hidden = true;
  }
  function init(signal: AbortSignal): void {
  - /* TODO: Use :has() and skip select.exists */
  - /* TODO: Revert `classes` #6072 */
  - observe(`
  - #dashboard .news :is(
  - [classes~='watch_started'],
  - [classes~='fork'],
  - .watch_started,
  - .fork
  - )
  - `, hide, {signal});
  + const own = `:has(a[href^="/${getUsername()!}"])`;
  + observe([
  + // Single events
  + `#dashboard :is(.watch_started, .fork)${own}`,
  +
  + // Grouped events
  + `#dashboard .body:has(.watch_started, .fork)${own}`,
  + ], hide, {signal});
  }
  void features.add(import.meta.url, {
  