Disable Right Click

Please post here if you have problems in using Wing FTP Server.

Disable Right Click

Postby cmangano » Thu Dec 02, 2010 7:56 pm

Is there a way to disable the menu from popping up when a user right clicks the page?
cmangano
 
posts 13
 
joined Wed Dec 01, 2010 10:40 pm

Re: Disable Right Click

Postby FTP » Fri Dec 03, 2010 3:17 am

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.
FTP
Site Admin
 
posts 1242
 
joined Tue Sep 29, 2009 6:09 am

Re: Disable Right Click

Postby cmangano » Fri Dec 03, 2010 7:33 pm

Great, thank you!
cmangano
 
posts 13
 
joined Wed Dec 01, 2010 10:40 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest