No-Library (pure JS), HTML, SCSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript
For some reason Selection.addRange (also removeAllRanges) is asynchronous to document#selectionchange event.