Docs-Online-Viewer
Docs-Online-Viewer copied to clipboard
Shows multiple icons for each link in DuckDuckGo
I think, the DOV icon should only b displayed only when the element is displaying text (has innerHTML). This could probably solve the issue.
Commit 11ac3a3 replacing innerText with textContext reopened this. textContext was used for Firefox compatibility (also it is a web standard).
Possible but not so correct solution could be to check innerText and use textContext only when innerText is not valid. This reference may give some hint.
Difference between innerText and textContent: http://www.kellegous.com/j/2013/02/27/innertext-vs-textcontent/