CDROM-Guide forums  

PDA

View Full Version : the best way to prevent someone stealing images (right click) script?


   
ThE SnAkE
Feb 01, 2002, 10:38 AM
whats the best right click script? and the easiest one cheers

M_rsa
Feb 01, 2002, 11:35 AM
check out www.javascriptsource.com , they have a number of "no right click" scripts there

HTH

M_rsa

rushlight69
Feb 01, 2002, 12:36 PM
And if we get access to the old site there will be a post telling you how to get round the "no right click":laugh:

i_am_a_fish
Feb 01, 2002, 12:49 PM
Originally posted by rushlight69
And if we get access to the old site there will be a post telling you how to get round the "no right click":laugh:

or you could just take a snapshot of the image.

Slash1
Feb 01, 2002, 01:04 PM
I know hehe. Its hillarious that people think they can protect their images on the Net. What a load.

I mean yes you can screen capture it, ok so they put there web address on it, well thats what photoshop is for.

If you can see an image you can take it. Simple hehe.

People normally only try to block adult pics, how lame hehe.

Peace guys
Brian:)

Keymaster
Feb 01, 2002, 01:43 PM
While it is true you can find a way to work around a right-click, disabling right-click will deter most people from getting your image. This may be better than nothing. The thing I think is funny is when someone rips off an image or music, and then wants to protect it so others "can't rip it off".

celtic_druid
Feb 01, 2002, 10:31 PM
The best way would be to use a java applet instead of a regular JPG, GIF, etc..

Dr Octagon
Feb 02, 2002, 02:27 AM
What image is it that you dont want us to see???


*Yoink* :laugh:

Dchikari
Feb 02, 2002, 02:51 AM
Come and test my web page and tell me if I did a good job of blocking right click and all.


comment is appreciated.
http://dchikari.tripod.com/home.html

orson88
Feb 02, 2002, 03:15 AM
Great Job!

Like your source too! :tup:

And thanks for the right-click disabler code. :D


Cheers m8! :beer:

ElaineM
Feb 02, 2002, 03:23 AM
It seems that you've done a very good job disabling the right click. However as it has been said earlier, if one really wants to steal something they will find a way around it. I'm sure that you've deterred the vast majority who just want to save it. As KM says, if you are not the creator, then it really isn't your right to protect it.

Dchikari
Feb 02, 2002, 11:13 AM
--=Thanks for the comments.=--

Yeah I know. (Elaine)
But it's cool to block the darn right click, there's no harm to it..I guess.

The best way to protect your image is to pay a company to place copy rights on your image. When you see somebody claim your image as theirs, you can sue the heck out of them. It's bad practice though. But I'll leave it up to you.

By the way, the script I use works on all Browser of all versions released so far.

Many of the scripts out there will work with IE but not Netscape.

Enjoy!

ThE SnAkE
Feb 02, 2002, 11:17 AM
so whats the code u used on ur site m8?
cheers

TechSilver
Feb 02, 2002, 11:56 AM
I'm just letting you know that the script you put on your site is good, but still I or any other person can get it very easy, which I can't tell you how. CHOW!

Craigr
Feb 02, 2002, 03:15 PM
The images are stored in the browser cache too, so with a bit of searching you can find them.

Craig

Devil-Man
Feb 02, 2002, 04:03 PM
Here's one for ya
htaccess yer html files and then only allow the frame index to call them.

Now use this code above the body tag.

<script language="JavaScript1.2">
if(window.Event)
document.captureEvents(Event.MOUSEUP);function nocontextmenu()
{event.cancelBubble=true
event.returnValue=false;return false;}function norightclick(e)
{if(window.Event)
{if(e.which==2||e.which==3)
return false;}else
if(event.button==2||event.button==3)
{event.cancelBubble=true
event.returnValue=false;return false;}}document.oncontextmenu=nocontextmenu;docum ent.onmousedown=norightclick;
</script>

now add this inside the <body> tag
oncontextmenu="return false" ondragstart="return false" onselectstart="return false"

Nobody can even highlight text. :)

mighty_monkey2000
Feb 02, 2002, 04:38 PM
I think it is a bad idea to block right-clicks on your webpage. Any image that can be downloaded and displayed by a web browser can be saved and used for other purposes. Usually, someone with enough knowledge to be running a website of their own can get around a right-click script. There are many uses for a right-click in IE, and it strikes me as very unprofessional when a page disables it. Assuming that the images on your page are your original artwork, you can mostly protect them by placing copyright watermarks in strategic places. If it isn't original, as has been said, why are you trying to protect it in the first place?

Kila_m
Feb 02, 2002, 06:31 PM
There is an easy way to bypass everything listed above.. I do it as standard I re-enable right clicks and scroll status etc.. easy to do.

mighty_monkey2000
Feb 02, 2002, 09:59 PM
Originally posted by TechSilver
I'm just letting you know that the script you put on your site is good, but still I or any other person can get it very easy, which I can't tell you how. CHOW!
btw, in IE, file->save as... to get all the site images in a convenient little folder

Devil-Man
Feb 02, 2002, 10:02 PM
You guys aren't getting it....
Any button or option in IE can be disabled with java
which means you can have a page with no scrollbar, no buttons, and no right click
then whatcha gonna do?
Exactly! ;)

mighty_monkey2000
Feb 02, 2002, 10:25 PM
Originally posted by Devil-Man
You guys aren't getting it....
Any button or option in IE can be disabled with java
which means you can have a page with no scrollbar, no buttons, and no right click
then whatcha gonna do?
Exactly! ;)
thats a bit more difficult, but not much. just disable scripting before you go to the page. in IE6,

tools->internet options->security tab
select "Internet"
click on "Custom Level"
scroll down to "Scripting"
under "Active Scripting", select Disable.

then visit the page and right-click away.

celtic_druid
Feb 03, 2002, 12:05 AM
Hate to tell you but I can right click, view source, etc. without any problems... I am using opera 6.0.

mighty_monkey2000
Feb 03, 2002, 12:14 AM
Originally posted by celtic_druid
Hate to tell you but I can right click, view source, etc. without any problems... I am using opera 6.0.
Thanks for reminding me about Opera m8! Last time I tried it was v4.0... i remember thinking it was a great concept but not quite there with compatability/features. Just downloaded 6.0, and i love it! :D

Devil-Man
Feb 04, 2002, 04:07 PM
Opera don't count. :D
This is strictly an IE topic :hdspin:

ElaineM
Aug 25, 2002, 11:07 PM
Up.

jasev
Aug 27, 2002, 07:31 PM
the easiest way around the block on right clicks is to create a shortcut of the temporary internet files in the windows folder on your desktop and load the page as you normally would and once the page is loaded disable javascript and delete all files in the internet shortcut folder and hit the back arrow button and then hit the forward arrow button and you can right click and load any image on the page.