juda PDU update / unSELECTable j-view
Issue #57
resolved
css: -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
UNuse JS : function clearSelection() { if (window.getSelection) { window.getSelection().removeAllRanges(); } else { // старый IE document.selection.empty(); } }
JS/CSS: <div id="mainbody" onmousedown="return false" onselectstart="return false">
Comments (4)
-
reporter -
reporter testED: YES
SUCCESSFUL
-
reporter add JS: doubleRefresh JUDAs PDU
// ################################################################################################################ // ##### trY use JS localStorage !!! // ################################################################################################################ // Check browser support if( window.localStorage ) { if( !localStorage.getItem( 'need2refreshMJudaz' ) ) { console.log('n2r: 1 -> refresh!'); localStorage[ 'need2refreshMJudaz' ] = true; window.location.reload(); } else { localStorage.removeItem( 'need2refreshMJudaz' ); console.log('n2r: 0 -> NO refresh!'); } } // ################################################################################################################ // ##### trY use JS localStorage @@@ // ################################################################################################################
-
reporter - changed status to resolved
is done!
- Log in to comment
+ ::selection { background: transparent; } ::-moz-selection { bac