From ede20f4f67e180bd842e8fe8096c7aa88931e10a Mon Sep 17 00:00:00 2001 From: shinigami-eyes <43276258+shinigami-eyes@users.noreply.github.com> Date: Sat, 26 Oct 2019 11:37:42 +0100 Subject: [PATCH] Fix: No colors on Twitter for Firefox mobile --- extension/content.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/content.ts b/extension/content.ts index e55714d..53de9a9 100644 --- a/extension/content.ts +++ b/extension/content.ts @@ -4,6 +4,7 @@ var hostname = typeof (location) != 'undefined' ? location.hostname : ''; if (hostname.startsWith('www.')) { hostname = hostname.substring(4); } +if (hostname == 'mobile.twitter.com') hostname = 'twitter.com'; if (hostname.endsWith('.reddit.com')) hostname = 'reddit.com'; if (hostname.endsWith('.facebook.com')) hostname = 'facebook.com'; if (hostname.endsWith('.youtube.com')) hostname = 'youtube.com';