Web browsers can select the whole block content when triple clicking on a text.
This script add quadruple/quintuple/sextuple click to select the whole parent, grandparent, or great grandparent block of the clicked block.
Web browsers however, won't select the block content when triple clicking on an image (IMG/SVG element).
This script allow the block content to be selected.
Web browsers also won't select an image when an image was double clicked.
This script also allow that, but the ALT key must be held down when double clicking the image, to avoid interfering site functionality if it use image double clicking.
Triple/Quadruple/quintuple/sextuple clicking on an image will always select the parent, grandparent, or great grandparent block of the clicked block.