I have this:
<script id="wpcp_css_disable_selection" type="text/javascript">
var e = document.getElementsByTagName('body')[0];
e.setAttribute('unselectable','on');
</script>
How come that the console throws this:
Uncaught TypeError: Cannot read property 'setAttribute' of undefined