Black Friday: Get 25% off Membership packages
-
Supporters can access 25 per cent off Membership, plus a host of additional
benefits! Get started here...
45 minutes ago
// Disable text selection (not fully reliable) function disableSelection(element) { element.setAttribute('unselectable', 'on'); element.style.userSelect = 'none'; element.style.MozUserSelect = 'none'; element.style.webkitUserSelect = 'none'; } // Apply to the entire document body document.addEventListener('DOMContentLoaded', function() { disableSelection(document.body); });
0 comments:
Post a Comment