Don't color timestamp of disqus comments on sites that are labeled one way or the other
This commit is contained in:
parent
6fe4d9a4bd
commit
1f2ffde6bd
@ -315,6 +315,9 @@ function getIdentifierInternal(urlstr) {
|
||||
var parent = urlstr.parentElement;
|
||||
if (parent && parent.classList.contains('domain') && urlstr.textContent.startsWith('self.')) return null;
|
||||
}
|
||||
if (hostname == 'disqus.com') {
|
||||
if (urlstr.classList && urlstr.classList.contains('time-ago')) return null;
|
||||
}
|
||||
|
||||
if (hostname == 'facebook.com') {
|
||||
var parent = urlstr.parentElement;
|
||||
|
Loading…
x
Reference in New Issue
Block a user