• I installed a plugin that disables right-clicking the entire site. However, even after disabling and deleting the plugin, the JavaScript code it adds to disable the right click continues to be inserted into the website. Can anyone help me remove this code? Wasn’t this code supposed to come out with the plugin?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Obviously, normally a deactivated plugin doesn’t do anything, but there are a few exceptions, e.g. caching or security plugins that modify .htaccess for instance.

    What is the plugin?

    Can you not ask the plugin support directly

    Thread Starter vsprodutos

    (@vsprodutos)

    The plugin is https://www.ads-software.com/plugins/disable-right-click-for-wp/

    The plugin developer does’nt support it from what I could see.
    The plugin is simple, it has only two files, and less than 100 lines of code. I could understand that it does an add_function() with the javascript code. However, I have looked everywhere possible for this code to remove it, but so far nothing.

    OK, so I right clicked your site ( by turning javascript off ) and inspected and I looked at the code of that plugin, and I can tell you that that plugin’s code is not loaded.

    Therefore, something else is stopping the right click.

    It could be another plugin. It could be a snippet in your theme.

    Probably the best thing to do is to install the Trouble Shooting & Health Check plugin. This plugin allows you to disable all plugins and themes without impacting any other user. Then you can check and use a process of elimination re enabling one thing at a time.
    https://www.ads-software.com/plugins/health-check/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin modifying site after disabled’ is closed to new replies.