Chrome Copies Text Despite Using "-webkit-user-select: None"
I want to create an element within a table which is not copyable (because of better readability). In Firefox it is working correctly. If you select everything and copy it, the spec
Solution 1:
Demo Fiddle
Add the below to your table element:
unselectable='on'onselectstart='return false;'onmousedown='return false;'
To your table element. Note that for Chrome, most of the time just the inclusion of onselectstart='return false;'
should suffice.
Post a Comment for "Chrome Copies Text Despite Using "-webkit-user-select: None""