No-Library (pure JS), HTML, CSS, JavaScript
replace text that would be too long to fit an overflow:hidden block with an abbr and an elipse.