function specialKeyUsed(e) {
  return 'button' in e && e.button === 1 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey;
}
Check if click or keydown event was dispatched
with a special key or via mouse wheel.

@param {MouseEvent | KeyboardEvent} e
@returns {boolean}