Skip to content

Tag: code-snippets

Disable Right Click on WordPress Site

I wanted to disable right click on my wordpress site. I have written a small snippet and inserted into body which disables right click, CTRL events and keyups. but it is annoying when I want to copy something on site. is there a way I can modify the current snippet like only logged in users would be able to a…