Category JavaScript

How to prevent right-click on images

This is a very simple code by @rickymccallum87 from wordpress.org support. It is JavaScript. I installed the plugin Insert Headers and Footers by WPBeginner and put the following code into “Scripts in the footer”: Wondering what the event => event.preventDefault()…