From c4ce2a58b73e7bc21129d9d2a04212bafd5229d3 Mon Sep 17 00:00:00 2001 From: Harish Date: Tue, 24 Dec 2024 11:13:49 +1100 Subject: [PATCH] Update css selector to match both verified and unverified followers Current css selector in hideVanityCounts doesn't account for links to "/verified_followers" so making it flexible to match both "/followers" and "/verified_followers" --- content-scripts/src/modules/options/hideVanityCounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content-scripts/src/modules/options/hideVanityCounts.js b/content-scripts/src/modules/options/hideVanityCounts.js index 2934dfe5..93c9c8a3 100644 --- a/content-scripts/src/modules/options/hideVanityCounts.js +++ b/content-scripts/src/modules/options/hideVanityCounts.js @@ -66,7 +66,7 @@ export const changeFollowCount = (followCount) => { addStyles( "followCount", `[href$="/following"][dir][role="link"], - [href$="/followers"][dir][role="link"] { + [href*="followers"][dir][role="link"] { display: none; }` );