Title: Javascript error
Last modified: August 24, 2016

---

# Javascript error

 *  Resolved [micksp](https://wordpress.org/support/users/micksp/)
 * (@micksp)
 * [11 years ago](https://wordpress.org/support/topic/javascript-error-80/)
 * I get this error in firebug:
 * TypeError: e is undefined
    e.setAttribute(‘unselectable’,on); I traced it to 
   this snippet:
 * <script id=”wpcp_css_disable_selection” type=”text/javascript”>
    var e = document.
   getElementsByTagName(‘body’)[0]; e.setAttribute(‘unselectable’,on); </script>
 * Plugin works properly though
 * [https://wordpress.org/plugins/wp-content-copy-protector/](https://wordpress.org/plugins/wp-content-copy-protector/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [wp-buy](https://wordpress.org/support/users/wp-buy/)
 * (@wp-buy)
 * [11 years ago](https://wordpress.org/support/topic/javascript-error-80/#post-6097699)
 * you may have an error in your page HTML
    are you sure that you have a valid <
   body> tag or not? please check or give us a url to check thank you
 *  Thread Starter [micksp](https://wordpress.org/support/users/micksp/)
 * (@micksp)
 * [11 years ago](https://wordpress.org/support/topic/javascript-error-80/#post-6097780)
 * Sorry, i forgot i allready fixed this problem, and notified you in [this post](https://wordpress.org/support/topic/javascript-faults).
   After the recent plugin update the error is back.
    Re-applying my sollution is
   the other post fixes the problem

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript error’ is closed to new replies.

 * ![](https://ps.w.org/wp-content-copy-protector/assets/icon-256x256.png?rev=976781)
 * [WP Content Copy Protection & No Right Click](https://wordpress.org/plugins/wp-content-copy-protector/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-content-copy-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-content-copy-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-content-copy-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-content-copy-protector/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [micksp](https://wordpress.org/support/users/micksp/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/javascript-error-80/#post-6097780)
 * Status: resolved