Welcome to WebmasterWorld Guest from 54.145.173.147

Forum Moderators: incrediBILL

Message Too Old, No Replies

disable right clicking? disable image toolbar?

   
11:48 pm on Nov 11, 2004 (gmt 0)

10+ Year Member



1. How does one go about disabling right clicking on a website?
2. Another feature i'd like to disable is the little options bar that appears when the cursor is over a picture (the option bar that has the print, save, e-mail icons in it?

Thanks fellas, and ladies- if any.
Sai Digitalle

12:24 am on Nov 12, 2004 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Here's a post with all the details about turning off IE's imagetoolbar:
[webmasterworld.com...]

When it comes to turning off right click - there you are messing with something much more primary than some invasive thingie that Redmond decided people might want. The disabling can be done with javascript (see link below), but if you are creating a website for the general public, I heartily encourgae you NOT to disable right click.

Many people (including me) use right click all the time as they browse. If you turn it off for me, I will leave and never again visit your pages. And it does not protect your materials from anyone but the most casual and poorly informed of thieves.

Here is one of several hundred threads on WebmasterWorld about the right click issue:
[webmasterworld.com...]

[edited by: tedster at 12:26 am (utc) on Nov. 12, 2004]

12:25 am on Nov 12, 2004 (gmt 0)

10+ Year Member



Hi Sai, have a look at this thread: [webmasterworld.com...] and [webmasterworld.com...]

As regards the menu bar on images I think this is triggered in IE when images are above a certain size. I wouldn't mind finding out a bit more myself though.

12:41 am on Nov 12, 2004 (gmt 0)

10+ Year Member



I love the "Proxomitron" (popup blocker) feature "Re-enable right click".

As for the image toolbar:

<meta http-equiv="imagetoolbar" content="no" />

12:48 am on Nov 12, 2004 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



it does not protect your materials from anyone but the most casual and poorly informed of thieves

...which are never out to steal anything in the first place.

If you're interested in permanently disabling right-click or certain key strokes (or even remapping key strokes), that can be done through certain registry changes.

1:01 am on Nov 12, 2004 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



For the sake of completeness about controlling Internet Explorer's Image Toolbar:

INDIVIDUAL IMAGES
If you want to turn off Image Toolbar functions for
individual pictures on a Web page, use the following
<img> syntax for the picture:

<img border="0" src="filename" galleryimg="no">
-- or --
<img border="0" src="filename" galleryimg="false">

ENTIRE PAGE
If you want to turn off Image Toolbar functions for
all pictures on a Web page, add the following <meta>
syntax to your Web page:

<meta http-equiv="imagetoolbar" content="no">
-- or --
<meta http-equiv="imagetoolbar" content="false">

MAKING EXCEPTIONS
If you have turned off Image Toolbar functions for
all pictures on a Web page, then you can enable them
for individual pictures by setting the galleryimg
attribute to "yes" or "true", using the following
<img> syntax:

<img border="0" src="filename" galleryimg="yes">
-- or --
<img border="0" src="filename" galleryimg="true">

12:59 pm on Nov 12, 2004 (gmt 0)

10+ Year Member




If you're interested in permanently disabling right-click or certain key strokes (or even remapping key strokes), that can be done through certain registry changes.

DrDoc, think about that one for a minute.... Disabling your own right click would be like covering your eyes and thinking no one can see you. :D

IMO turning off right click merely annoys your visitors. It won't stop anyone from stealing from your site. They can just turn off javascript to bypass it, or using a browser like Firefox right clicking can be enabled even if blocked by the site.