Does anyone know how to make an image not draggable and not selectable - at the same time - in Firefox, without resorting to Javascript? Seems trivial, but here's the problem:
1) You can drag and select in Firefox:
<img src="...">
2) Thus, we add this, but the image can still be selected by dragging and dropping:
<img src="..." draggable="false">
3) So we add this to fix the backlight problem, but then in contrast, the image is dragged again. Strange, I know! Using FF 16.0.1
<img src="..." draggable="false" style="-moz-user-select: none;">
So, does anyone know why adding "-moz-user-select: none" can somehow outperform and disable "draggable = false"? Of course, webkit works as expected. There is nothing in Interwebs about this ... It would be great if we could shed light on this together.
Thank!!
Edit: This is due to the fact that the user interface elements are inadvertently dragged and usability is improved - and not some uncomfortable attempt to use the copy protection scheme :-)
html css html5 firefox draggable
tmkly3 Oct 16 '12 at 2:40 2012-10-16 02:40
source share