pictures unsaveable on websites
+5
finnianm
erione
AxiuM1485
Adil
someoneinsane
9 posters
Page 1 of 1
pictures unsaveable on websites
What is the HTML code so people dont have the ability to rightclick and "Save Image As" and take the picture.
Like on this website
Like on this website
someoneinsane- Top Poster
- Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
Mood :
Re: pictures unsaveable on websites
Yes, thats what i mean.
Do you know the code?
Do you know the code?
someoneinsane- Top Poster
- Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
Mood :
Re: pictures unsaveable on websites
try tools > view code or something. Try to find the image there manually ? sorry.
Re: pictures unsaveable on websites
I used this once way back... i found the code somewhere lol.. i dont remeber it off hand but i'll see if i can find it for you.. the one i used i made a msgbox pop up to tell people they can't right click
AxiuM1485- Top Poster
- Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
Mood :
Re: pictures unsaveable on websites
I don't know the code though some host have some features which disables right click, including everything and not only pictures.
erione- Global Moderator
- Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
Mood :
Re: pictures unsaveable on websites
I would be able to use this for some on my website.... for business, then i could post alot more logos i've done, because clients don't want them to be able to be downloaded.... tell me if you find it!
Re: pictures unsaveable on websites
Here you go put these codes in the
No Right Click On Images
This one is to prevent people from copying text
I haven't tested these to make sure if they work or not, but they should. Enjoy
- Code:
<head> </head>
No Right Click On Images
- Code:
<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("I'm sorry, The Right click option on your mouse has been disabled for the download window pages.");
return false;
}
return true;
}
document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
</script>
This one is to prevent people from copying text
- Code:
<script language="JavaScript1.2">
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
I haven't tested these to make sure if they work or not, but they should. Enjoy
AxiuM1485- Top Poster
- Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
Mood :
Re: pictures unsaveable on websites
Thanks Axium, i shall definitly use this in the future.
someoneinsane- Top Poster
- Number of posts : 789
Flow Points : 852
Reputation : 9
Warnings :
Mood :
Re: pictures unsaveable on websites
Glad to help
AxiuM1485- Top Poster
- Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
Mood :
Re: pictures unsaveable on websites
Thanks also Axium, I might use that in the future ^^
erione- Global Moderator
- Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
Mood :
Re: pictures unsaveable on websites
I'll be sure and keep this in mind when I have an important image that I worked on for a long time. Thank you.
88cool- New Member
- Number of posts : 19
Flow Points : 39
Reputation : 0
Warnings :
Mood :
Re: pictures unsaveable on websites
Only wish that it couldn't be disabled Web Developer plugin would ruin it
Re: pictures unsaveable on websites
if you have google chrome just use ctrl+u even if right click is disabled it still works
tommo- Adv. Member
- Number of posts : 260
Flow Points : 155
Reputation : 9
Warnings :
Mood :
Re: pictures unsaveable on websites
Thanks for the code. May use it in the future. Like when I do tutorials for my site and not wanting the people to take the images.
Bekki- Gold Member
- Number of posts : 124
Flow Points : 240
Reputation : 4
Warnings :
Mood :
Re: pictures unsaveable on websites
your welcome. Like i said though this isn't a full proof way but, its something. There is always a way around something though.
AxiuM1485- Top Poster
- Number of posts : 769
Flow Points : 1524
Reputation : 17
Warnings :
Mood :
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|