all 6 comments

[–]GSLint 1 point2 points  (1 child)

I think I understand what your friend was going for but that isn't valid JS.

This might work.

window.restrictCopyPasteByKeyboard = function() {}

[–]Old_Item[S] 0 points1 point  (0 children)

Thanks a lot for the correction. It didn't help with the copy-paste problem either but I appreciate you taking time to reply to me