3 ms·
Could this be intentional? There might be a legitimate reason to select/copy/paste the text here. RE: Firefox text selection -- there is a browser-specific CS
by CoreDumpling 17y ago
Could this be intentional? There might be a legitimate reason to select/copy/paste the text here.
RE: Firefox text selection -- there is a browser-specific CSS rule that controls for that: -moz-user-select
https://developer.mozilla.org/en/CSS/-moz-user-select https://developer.mozilla.org/en/CSS/-moz-user-select
Of course, this has no effect in other browsers, like Opera which I'm using right now.
In the past, I've been able to circumvent this problem by overlaying any text with a 1x1 transparent gif which captures the click before it can hit the text. Not sure what web devs use to deal with this problem these days.