Highlight external twitter urls

This commit is contained in:
shinigami-eyes 2018-12-16 15:30:26 +01:00
parent 2f5b533dd7
commit 1b6b2d360f

View File

@ -337,6 +337,7 @@ function getIdentifierInternal(urlstr) {
}
}
}
if (urlstr.dataset && urlstr.dataset.expandedUrl) urlstr = urlstr.dataset.expandedUrl;
if (urlstr.href !== undefined) urlstr = urlstr.href;
if (!urlstr) return null;
if (urlstr.endsWith('#')) return null;