Added support for Tweetdeck
This commit is contained in:
parent
d6b9fede76
commit
911fc4a0f0
@ -272,6 +272,7 @@ const badIdentifiersArray = [
|
||||
'tmblr.co',
|
||||
'tumblr.com',
|
||||
'twitch.tv=SN',
|
||||
'tweetdeck.twitter.com',
|
||||
'twitter.com',
|
||||
'twitter.com/explore',
|
||||
'twitter.com/hashtag',
|
||||
|
@ -4,7 +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 == 'mobile.twitter.com' || hostname == 'tweetdeck.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';
|
||||
|
Loading…
Reference in New Issue
Block a user