Don't color Wikipedia links to other languages
This commit is contained in:
parent
9f190fb1d2
commit
cb1925e46b
@ -377,6 +377,8 @@ function getIdentifierFromElementImpl(element: HTMLAnchorElement): string {
|
||||
if (!content.includes(' ') && content.includes('.'))
|
||||
return getIdentifier('http://' + content);
|
||||
}
|
||||
} else if (domainIs(hostname, 'wikipedia.org')) {
|
||||
if (element.classList.contains('interlanguage-link-target')) return null;
|
||||
}
|
||||
|
||||
if (element.classList.contains('tumblelog')) return element.textContent.substr(1) + '.tumblr.com';
|
||||
|
Loading…
Reference in New Issue
Block a user