I know that it\'s impossible to thwart the world\'s most advanced minds, but I\'d like to put the slightest of barriers on my website to keep my students from copying text from
A simple and valid solution - bind to the 'copy' event and prevent it. You can also set what text will be copied (and later pasted by the user).
document.addEventListener('copy', function (e){ e.preventDefault(); e.clipboardData.setData("text/plain", "Do not copy this site's content!"); })