• Labaran yau

    • Facebook Comments


    Post a Comment

    Rubuta ra ayin ka

    Item Reviewed: Yaya za ka ji idan kai Allah ya ba wadannan yaran? Rating: 5 Reviewed By: -
    Koma Sama
    .disablecopypaste { -webkit-user-select: none; Chrome/Safari/Opera/Opera mini -moz-user-select: none; Firefox -ms-user-select: none; Internet Explorer/Edge -webkit-touch-callout: none; iOS Safari} And in your html:

    This text can’t be copied (cannot be selected).

    // Deactivating distracting Text Selection: // from: http://stackoverflow.com/questions/1794220/how-to-disable-mobilesafari-auto-selection $.fn.extend({ disableSelection : function() { this.each(function() { this.onselectstart = function() { return false; }; this.unselectable = "on"; $(this).css('-moz-user-select', 'none'); $(this).css('-webkit-user-select', 'none'); }); } }); $(function() { $(this).disableSelection(); });