By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,680 Members | 1,486 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,680 IT Pros & Developers. It's quick & easy.

Safari Browser Disable Control + Click

P: n/a
I would like to disable the ability of the user hold control and click
and get the dropdown menu. I am ultimately discouraging users from
easily getting a copy of the image. I was able to do this and disable
dragging on all browsers I have tested except Safari (Mac).

For a copy of the javascript that has worked so far on everything
minus Safari please go here:

URL: http://www.nomorepasting.com/paste.php?pasteID=24898
Jul 23 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On 15 Nov 2004 06:51:38 -0800, Sven <mo******@yahoo.com> wrote:
I would like to disable the ability of the user hold control and click
and get the dropdown menu.
Well, you can't.
I am ultimately discouraging users from easily getting a copy of the
image.
People that want to take your material will do it. There is nothing you
can do to stop them. All you accomplish by breaking the basic
functionality afforded to user agents is the frustration of your users.

Let me repeat that to make it clear: determined thieves will not be
stopped, and you'll only hurt legitimate users.

There are only a few practical approaches you can take:

1) Don't place the material on the Web in the first place.

2) Place intrusive watermarks on the images, or drastically reduce the
quality of the material so no-one has any desire to take it.

3) Openly pursue legal action if you can determine that the thief is
governed by international or local law that forbids the theft of
copyrighted material.
I was able to do this and disable dragging on all browsers I have tested
except Safari (Mac).


I can promise you it will fail on all my browsers (except IE). Even if it
didn't, I could *easily* obtain the images and source code for your page.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2

P: n/a
On Mon, 15 Nov 2004 15:13:36 GMT, Michael Winter wrote:

(protect images in browser)
....
I can promise you it will fail on all my browsers (except IE).


Don't forget..
<http://www.physci.org/kbd.jsp?key=prt> ;-)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #3

P: n/a
On Mon, 15 Nov 2004 15:22:25 GMT, Andrew Thompson <Se********@www.invalid>
wrote:
On Mon, 15 Nov 2004 15:13:36 GMT, Michael Winter wrote:

(protect images in browser)
...
I can promise you it will fail on all my browsers (except IE).


Don't forget..
<http://www.physci.org/kbd.jsp?key=prt> ;-)


I was refering to the right-click blocker. :P

Whilst that will work with IE[1], it still wouldn't stop me. Print screen
is just one of the ways...

Mike
[1] Hopefully Microsoft will again make steps to catch up with the
functionality provided by Opera and Mozilla. Namely, being able to stop
scripts from receiving right-clicks so the context menu cannot be disabled.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #4

P: n/a
On Mon, 15 Nov 2004 15:36:33 GMT, Michael Winter wrote:

(snip)
I was refering to the right-click blocker. :P


Sure, but it was way funnier when I took that
completely out of context. ;)
Jul 23 '05 #5

P: n/a
Sven wrote:
I would like to disable the ability of the user hold control and click
and get the dropdown menu. I am ultimately discouraging users from
easily getting a copy of the image. I was able to do this and disable
dragging on all browsers I have tested except Safari (Mac).
No you didn't, you just think you did.
For a copy of the javascript that has worked so far on everything
minus Safari please go here:

URL: http://www.nomorepasting.com/paste.php?pasteID=24898


Are you positive about that?

I say I can right click, get the menu, and all on a default installation
of IE6 SP2. What say you?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.