From c66a7d65a862ff82e781f104737dfba5dd42ccf0 Mon Sep 17 00:00:00 2001 From: shinigami-eyes <43276258+shinigami-eyes@users.noreply.github.com> Date: Sun, 14 Jul 2019 21:59:01 +0200 Subject: [PATCH] Don't color notifications, the referenced entity can be ambiguous --- extension/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extension/content.ts b/extension/content.ts index a7fc074..78d7256 100644 --- a/extension/content.ts +++ b/extension/content.ts @@ -315,6 +315,9 @@ function getIdentifierFromElementImpl(element: HTMLAnchorElement): string { // post Comments link if (dataset.testid == 'UFI2CommentsCount/root') return null; + // notification + if (dataset.testid == 'notif_list_item_link') return null; + // post Comments link if (dataset.commentPreludeRef) return null;