Make your site copyright.

Status
Not open for further replies.

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
Thats a good code, another thing you should do is enable hotlinking in cpanel. It doesnt allow any other site (besides yours and any ones that you type in) to link your pictures. It really saves on the bandwith. Even though most people can just right click and save it, it's a good idea to enable hotlinking :)
 

Xempttt

New Member
Messages
830
Reaction score
0
Points
0
i know there is a script that can block any right click even on pictures. ill research it for u.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Everyone please disable javascript and check out vbchris site... that script only works with browser that will have javascript enabled if not is useless... But it is a nice script...

*4*
 

nicholas

New Member
Messages
772
Reaction score
0
Points
0
Mav3rick said:
i know there is a script that can block any right click even on pictures. ill research it for u.

Yes there is a script for it but it can easily be defeated. All you need to do is to press and hold the right mouse button. Hold it. While you are holding it, the pop-up message pops-up. Press enter. The pop-up message disappears. Let go of the right mouse button and the right-button menu pops right up. And you can save the picture :laughing:
 

Matthews255

New Member
Messages
826
Reaction score
0
Points
0
highlight stuff then.

Ctrl+C -> Ctrl+V in word or notepad and stuff.

Done and done.
 

MicrotechXP

New Member
Messages
7,644
Reaction score
0
Points
0
So am I. I somtimes Copy and paste to my site and then add more things that I want!
 

vbchris

New Member
Messages
180
Reaction score
0
Points
0
Auvee said:
vbchris said:
nforchange said:
I need to see that script in action... there is no action @ the link you have provided...

*4*


http://network-13.com <- take a look script has been implemented on the main page,, notice how you can't hightly text simply be clicking and dragging :grin:
It's a cool site and all, but wouldn't it suck for the people viewing your tutorials? I'm usually the guy browsing sites copying+pasting stuff to see if things work before customizing, etc.

-Auvee B.

I agree totally, I only put it there to show what it does exactly, removed it now though :grin:
 

NewFuture

New Member
Messages
1,658
Reaction score
0
Points
0
there are three versions of no right click, one which shows a warning (popup sayin whatever you want e.g stop copying my stuff) and one which has no warning and the last jus works on pictures here they are: (Note They Are Java Scripts)

1st script (with alert):

<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="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

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

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

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

// -->
</script>

Second one: (no alert)

<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>

3rd one:

<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
var clickmessage="Right click disabled on images!"
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images.onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script>
 

dipeshsilwal1

New Member
Messages
184
Reaction score
0
Points
0
well, well, newfuture, who is going to put that long script. huh!

lets hear from people. lets have a view point. which script would u rather use. mine or newfuture's huh!

lets hear it from u/
 

Matthews255

New Member
Messages
826
Reaction score
0
Points
0
paste the script into notepad,
save as disable.js
in your page write...

<script src="disable.js></script>


Saves amount of code in the file.
 

Articz

New Member
Messages
864
Reaction score
0
Points
0
^ that a good idea there Matthews255 will have to try those out but they dont seem to work in firefox for me :(
 

dipeshsilwal1

New Member
Messages
184
Reaction score
0
Points
0
well i hope everyone liked my code. well if u need any more codes then i can help u out. You can Pm me get it.

I am not saying i m sure that i can provide u a code, but i will try it.
 

Jake

Developer
Contributors
Messages
4,057
Reaction score
5
Points
0
well really, most people do not know that and think that if they can't right-click and save the image that you can not save it at all =)
 
Status
Not open for further replies.
Top