Ignore selection on number or email inputs

Fixes issue #19 by ignoring selection on numbers and email inputs.
I think the drawback of ignoring the selection is better than totally crashing in Chrome but if you don't agree please reject this PR.