added "overview" to the location check
This commit is contained in:
j0be 2017-07-06 15:58:33 -04:00 committed by GitHub
parent 9cb6768ad2
commit 46e4383498

View file

@ -46,6 +46,7 @@ var pd = {
location: function () { location: function () {
return document.location.hostname.split('.').slice(-2).join('.') == 'reddit.com' && return document.location.hostname.split('.').slice(-2).join('.') == 'reddit.com' &&
document.location.href.match('/user/') && document.location.href.match('/user/') &&
document.location.href.match('/overview') &&
$('.titlebox h1').first().text() === $('#header-bottom-right .user a').first().text(); $('.titlebox h1').first().text() === $('#header-bottom-right .user a').first().text();
} }
}, },