Title: Plugin modifying site after disabled
Last modified: August 12, 2021

---

# Plugin modifying site after disabled

 *  [vsprodutos](https://wordpress.org/support/users/vsprodutos/)
 * (@vsprodutos)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-modifying-site-after-disabled/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-modifying-site-after-disabled%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-modifying-site-after-disabled/#post-14762966)
 * 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](https://wordpress.org/support/users/vsprodutos/)
 * (@vsprodutos)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-modifying-site-after-disabled/#post-14762975)
 * The plugin is [https://wordpress.org/plugins/disable-right-click-for-wp/](https://wordpress.org/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.
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-modifying-site-after-disabled/#post-14763034)
 * 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://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin modifying site after disabled’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-modifying-site-after-disabled/#post-14763034)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
