How to Disable Right Click on wordpress Dashboard(Admin Area)
Use the selector .wp-admin to make sure you are selecting only the wordpress admin area. html body.wp-admin { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } The code above will prevent the user from selecting/highlighting the page content. If you really want to disable right click, just use a simple JS code like: <script> … Read more