fixed url adding bug
fixed url adding bug

Currently only Firefox supports multiple selection ranges, other browsers will not add new ranges to the selection if it already contains one.
Ref.: https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange
also fixed variable names
tholman/zenpen,tholman/zenpen