View Full Version : No-Right-Click

06-08-2008, 11:10 PM
1) Script Title: No-Right-Click

2) Script URL (on DD):

3) Describe problem: I've discovered many people know how to get around this so I want to delete it. I removed the script from the html code and uploaded the change but it continues to show.

How do I delete it?


06-08-2008, 11:31 PM
post a link to your website so we can see it.

are you sure you deleted the entire script, and that your changes were saved on the web? maybe you had it installed twice or something? Are you sure your browser is looking at the current version of your site and not a cached version?

06-09-2008, 12:36 AM
I solved the problem but not sure how to finish it. I guess I'll just delete it from every page as I'm new to DW and not sure how to make the change in the template.

The code in Dreamweaver said it had been deleted and it showed it uploaded. But when I downloaded the code from the server -- it showed the code still present.

I deleted it then saved and uploaded it again and it's working properly now. No -- no-right-click :)

Thanks -- I was assuming if DW said it was OK, it was.

06-09-2008, 12:37 AM
Deleted the url but here it is just in case.


I deleted everything that was in the script - that I was aware of. I deleted the script on only the home page to see if that would work.

Yes, it said the change was uploaded and it doesn't show on the code in Dreamweaver

06-09-2008, 12:58 AM
I've deleted the script on every page - however one page - Galleries - still comes up no-right-click.

I've downloaded from the server and I don't see it there either. I don't understand, every other page works fine and I did the same on every page.


06-09-2008, 01:19 AM
It's still part of your page:

<script language=JavaScript>

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="No Right Clicking These Images Are Copyrighted© By Jan Flood Studios";

function clickIE4(){
if (event.button==2){
return false;

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;

if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function("alert(message);return false")

// -->

06-16-2008, 09:51 PM
Thank you guys! I was frustrated over this for weeks. You were right -- I had uploaded a duplicate page and that was what I was deleting the script on. Finally found it and made the correction.