Reputation: 1
I have modded a website built by another developer that I'm attempting to do updates on. He somehow managed to disable right click on the site with or without using a plugin and I have no idea how he did it.
The website is https://meripaathshala.in
It's on WordPress using the zerif lite theme.
I'm really hoping that one of you brilliant people can help me figure out how to re-enable right clicking on the site.
Thank you!!
Upvotes: 0
Views: 1206
Reputation: 13666
The script that's disabling right-click can be found here:
<script type="text/javascript">
/*<![CDATA[*/
document.oncontextmenu = function() {
return false;
};
...
</script>
Now, as to where that script is being included in the page is anyone's guess. I would start by looking in your theme's footer or functions file.
Upvotes: 2