Disable Right Click

Please post here if you have problems in using Wing FTP Server.
Post Reply
cmangano
Posts: 13
Joined: Wed Dec 01, 2010 10:40 pm

Disable Right Click

Post by cmangano »

Is there a way to disable the menu from popping up when a user right clicks the page?
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Disable Right Click

Post by FTP »

You just need to modify the html file "webclient/main.html", comment out the code: document.oncontextmenu=function(){ ... }(from line 2367 perhaps), though any modification of scripts are not recommended.
cmangano
Posts: 13
Joined: Wed Dec 01, 2010 10:40 pm

Re: Disable Right Click

Post by cmangano »

Great, thank you!
Post Reply