Prevent user from copying text on mobile browsers

前端 未结 11 1920
陌清茗
陌清茗 2021-02-20 01:57

I\'m trying to develop a typing speed competition using JavaScript. People should write all the words they see from a div to a textarea.

To prevent cheating (like copyin

11条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-20 02:22

    You can return false on jQuery's cut copy paste events.

    
    
    

提交回复
热议问题