Fix: No colors on Twitter for Firefox mobile

This commit is contained in:
shinigami-eyes 2019-10-26 11:37:42 +01:00
parent 714dda8cf3
commit ede20f4f67
1 changed files with 1 additions and 0 deletions

View File

@ -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';