Disable right click on pictures

Hi,
I've been asked to disable the 'right mouse click' on
pictures so that they can't be downloaded.
Personally I see little point in doing this as some one can
easily print the screen and get the images that way but hey if
that's what someone wants, that's what they can have.
I have no idea how to acheive this, does any one know?
Thanks in advance
Michael

It doesn't work on my one-button mouse, or on my two-button
mouse with the
button functions reversed because I am left handed, or ....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"michael - london" <[email protected]> wrote
in message
news:f4p4vd$d26$[email protected]..
> Hi Murray,
> Well this script seems to work, I see little point in
using it though as
> it's
> quite easy to print the screen, do a screen shot or drag
the pictures off
> the
> page. But if that's what the client wants, that's what
they want.
>
> Michael
>
> Here's the script:
> <script language=JavaScript>
> <!--
>
> //Disable right mouse click Script
> //By Maximus ([email protected]) 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>
>
>

Similar Messages

  • TWO CRITICAL BUGS: 1) File, "Save Page As" and 2) right-click the picture and select "Save Image As", both do not work at all in Firefox 27, 28, and 29!

    Note: capitals are used only to highlight important words.
    PLEASE, TAKE THESE COMMENTS ON TWO CRITICAL BUGS VERY SERIOUSLY BECAUSE THE BUGS DESCRIBED BELOW ARE SO CRITICAL THAT I CANNOT USE THE LATEST VERSION OF FIREFOX UNLESS THEY DO NOT APPEAR IN THE LATEST VERSION AND THEREFORE I AM FORCED TO REVERT BACK TO FIREFOX 26.
    I have Windows 7 64-bit and Firefox 26. I could not install Firefox 27, 28, and 29 due to the persistent presence of the two critical bugs described below. I have 8 GB of RAM and an Intel quad-core processor and a lot of hard disk space available.
    I installed Firefox 27 and then Firefox 28 a while back and these two bugs described below were still present and now I have just checked again with Firefox 29 by installing it and yet again, these two bugs described below are present!! UNBELIEVABLE THAT THESE TWO CRITICAL BUGS ARE STILL PRESENT IN FIREFOX 29 WHEN I CLEARLY INFORMED YOU ABOUT THEM IN THE HELP, SUBMIT LINK OF FIREFOX!!
    I am forced to revert to Firefox 26!
    First, I use Windows 7 64-bit and I always use Firefox with at least 120 tabs opened. BUT I have 8 GB of RAM, an Intel core i7 quad-core processor and more than 1 TB of hard disk space. Consequently, I do not understand why I would have these two critical bugs.
    With Firefox 26, I also have at least 120 tabs opened when I start Firefox and I do not have the two critical bugs described below, therefore I do not believe that the number of tabs is the reason of the two critical bugs that are present in Firefox 27, 28, and 29.
    ---FIRST CRITICAL BUG:
    When I open ANY web page and do File, "Save Page As", the window that is supposed to open to locate the folder where I want to save this web page does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---SECOND CRITICAL BUG:
    When I use Google Images, for instance entering model in the search field of Google Images and then pressing enter.
    Then I select any picture, open to a new tab this selected picture, then open a new tab by selecting the option View for this picture. Then right-click the picture and select "Save Image As".
    Again, the window that is supposed to open to locate the folder where I want to save this picture does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---THESE TWO CRITICAL BUGS DO NOT APPEAR WHEN I USE INTERNET EXPLORER 11.
    I have no idea if you will be able to reproduce these two critical BUGS but I can assure you that they are not present when I use Firefox 26 and they are present when I use Firefox 27, 28, and 29. More, be aware that I have at least 100 tabs opened but I also have this same number of tabs opened in Firefox 26 and yet I do not experience these two critical bugs when I have Firefox 26!
    Once again, these two bugs touch at two vital, critical very basic functions of Firefox and therefore I will NOT be able to use any version above 26 if these two bugs are still present, as they are present in Firefox 27, 28, and now 29!!!
    Please, make it a priority to solve these two critical bugs. Thanks.
    I did read a post related to the same issues “Firefox stops responding when trying to "save page" or "save image" | Firefox Support Forum | Mozilla Support” at https://support.mozilla.org/en-US/questions/991630?esab=a&as=aaq
    I am still reading it again to try to figure out exactly what the person did to make his problems be solved, as the post is not clear at all on what solved the problems!
    In any case, all the suggestions proposed in this post do not work and I surely cannot do a system restore when it is obvious that the two bugs do not appear in Internet Explorer.

    First, I sent an email to the author of PhotoME to inform him of the serious issues his addon caused with Firefox latest versions.
    Now, for those of you who do not have the PhotoME addon and yet experience the same problem that I had and that I described above, I suggest the following strategy.
    As PhotoME did cause these problems with Firefox latest versions, I am pretty covinved other addons probably might cause these problems too. Therefore, adopt the following method.
    Test one addon at a time to see if this particular addon is behind your Firefox issues like the ones I had.
    So, disable one addon only at a time. Then close your Firefox and restart it from scratch and see if you still have your Firefox problems. You must restart the Firefox browser from scratch. If you still have these Firefox problems, re-enable the disabled addon, restart your Firefox (again!) and repeat the same method for every single addon that you have.
    Try to be selective by choosing first addons that are more likely to cause your Firefox problems such as not very well-known or not very popular addons (like it was the case for the PhotoME addon).
    If this method works or if it does not work, report it on this web page so that others can be helped with your comments.
    I hope this method will help you because I was really upset that I had these Firefox problems and I first thought it was the fault of Firefox, only to discover later that this PhotoME addon was the culprit and had caused me such upset.

  • Disable right-click

    Is it possible to disable right-click so the images aren't able to be downloaded from a Muse site?

    Hello Blackdog,
    Even if you could - basically impossible.  All anyone viewing your site would have to do is a "screen grab" On a Mac (Command+Shift+4).  Also they could using any browser. I.E. Firefox, select, Tools > Page Info > Media and there are all the images on that page. You can then just download these.
    The only thing that can minimize this is to not make your images too big, 600 to 700 px max and put a watermark on the picture.  See one of my sites below.  Yes the water mark can be erased with Photoshop etc. However these lowlifes that steal you images, most likely don't even know what Photoshop is!
    http://mermaidskissgallery.com/photography/interlake-1.html
    Led Zep Z0S0 - First song side one.  Am I right?

  • How to disable right click in a transaction?

    Hi,
         How to disable right click in transaction.
    i.e, While in CRMD_BUS2000111, in partners tab, when we right click, a pop up window appears. I don't want this to happen. I don t want the window to pop up.
    How can this be achieved witout changing any standard code?
    Regards,
    Varun

    Hi Amit,
    Tcode - CRMD_BUS2000111
    Regards,
    Varun

  • Using Bridge CC when I right click on picture to show open with menu it wont show Photoshop cc 2014. How do I fix that?

    Using Bridge CC when I right click on picture to show open with menu it wont show Photoshop cc 2014. How do I fix that?

    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Need to Disable Right Click FF10+ windows

    Need to at least remove the save as feature but ideally disable right click all together.

    You can't hide the right-click context menu, but you can hide items in the right-click context menu via an extension like the Menu Editor or via code in the userChrome.css file in the chrome folder.
    *http://kb.mozillazine.org/userChrome.css
    *Menu Editor: https://addons.mozilla.org/firefox/addon/menu-editor/
    *http://kb.mozillazine.org/Chrome_element_names_and_IDs

  • Disable right click on a button

    I created a banner, covered it with a button and added a clickthrough. Is there a way to disable the right click capability.
    EB.Clickthrough("");

    Is there a way to disable the right click? When I publish the edge file I get an html5 site. I have tried implementing this
    http://stackoverflow.com/questions/737022/how-do-i-disable-right-click-on-my-web-page
    but it is still right clicking.

  • Wanted to disable right click for RRI for one of coulmns...

    Hi
    I created query in WAD 7. The query output in Portal shows 5 columns. For this query i have RRI (Jump query). Could u pls. let me know how can I disable Right-Click functionality for one of the column field (basically i wanted to restrict RRI functionality for one of the field column).
    Thanks...

    As far as I know, RRI works at the level of record, not column... So for any column in any record where you right click and select Go To, you'll get the settings from RSBBS...
    Fields and settings specified in Assignment Details are for those parameters to be transferred to the target, not for determining what columns accept the right-click or not...

  • Is there any way to disable right click and drag and drop for photos on iweb?

    Re: protecting photos when using iweb as your web designer...
    Is there any way to disable right click and drag and drop for photos using iweb?  I have seen tutorials about creating a text box around each image - but is there a better way? 

    However, there is no way you can prevent someone from making a screenshot of the image as it is displayed on the screen no matter what application you use to create the web page.
    You can add a watermark to dissuade the casual "thief" but those who are serious about stealing the photo for their own use can remove the watermark with some effort.
    OT

  • How to disable right-click in Flex app /w actionscript?

    Anyone know of actionscript code within Flex for disabling
    right-click. I've got an app that I don't want my users to have
    access to the right-click menu.

    "EvolvedDSM" <[email protected]> wrote in
    message
    news:gadm7g$fi6$[email protected]..
    > Thanks hanchan, I did just want to disable the zoom
    options and whatnot.
    > After
    > watching a few users, who have never worked with a flex
    app before,
    > accidentally right click here and there and zoom in or
    zoom out, I was
    > banging
    > my head on the wall thinking "this could happen ALL THE
    TIME with these
    > people".
    >
    > Ahhh, Amy. You need to feel the love of "No Script", a
    FireFox browser
    > extension. It is truly the best tool on the net imo. NO
    MORE ADS. You
    > have
    > to allow non-domain site ads to appear on the page, else
    they never load
    > and
    > you don't have to deal with the ads. If you use FireFox,
    get it!! And if
    > you
    > don't use FireFox, try it!!
    But even then, the player itself isn't providing you with any
    security.

  • Right clicking on pictures

    I have a HP laptop running windows 7. Recently I have had trouble right clicking on pictures to make desktop background. It just shows the  thinking circle and then just goes back to desktop with same image.

    Hello Brendo65, welcome to the HP Forums.
    It appears that there's an issue when you try to right click on a picture and set it as the desktop background. I will try to help you with this.
    Do you have any other issues with right clicking? Or is this specific to when you try to change the background?
    This document may be able to help you: Changing Display Settings, Background Image, Icons, and Screen Saver (Windows 7).
    I will also provide you with this one: Using and Configuring the TouchPad (Windows 7 and Vista). This is in case you are having other issues with right clicking. (if your using an external mouse please let me know.)
    Let me know how this goes for you.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • How to disable right click option re-size on table column header?

    Hi All,
    Please let us know how to disable right click option re-size on table column header.
    The issue is that when I right click on the column header, the column is selected and the context menu with options like Sort, Columns, Resize Columns, etc.. is popping. we want to disable column  re-size option.
    We are binding the table values programatically (not using Bc4J) and the Jdeveloper version is 11.1.2.2
    Thanks in advance,
    - Vignesh S.

    Hi Gawish,
    Thanks for the reply.
    This will make the particular column frozen and only work for that particular column.
    My use case is that to remove the resize columns option from the context menu or to disable the right click option.
    Making column selection as none will disable the right click option but we need column selection for sorting.
    Is there any other way to achieve this?
    Thanks in advance,
    -Vignesh S.

  • How to disable right click on SAP portal login page

    Hi,
    How to disable right click on SAP portal login page. Our requirement is one should not be able to right click -
    >view source. on the portal login page.
    Best Regars,
    Tushar

    Hi Tchanvan,
    If you search google with "javascript disable right click" you will get loads of javascript code. This will also help you to gain knowledge.
    @Explanation to last post : You need to import standard logon par file in NWDS. Create javascript file to disable right click and then include this file in your logon page. i think login page name is portalLogin.jsp and then deploy this new PAR file.
    regards,
    Jigar Oza

  • Disabled right click on certian sights

    I am using rutorrent though firefox and the settings for the torrents also use right click when I do this I get the right click memu right on top of it is there any way of disabling right click for only certian sights.

    No, you can only do that for all sites.
    Tools > Options > Content : JavaScript > Advanced > Allow Scripts to: [] "Disable or replace context menus"
    * http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
    * http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings

  • Firefox regularly disables right click, bookmarking, etc and I have to log off and log back on or restart my computer to fix it, then it happens again, always

    firefox regularly disables right click, bookmarking, etc and then I cannot even close it so I have to log off and log back on or restart my computer to fix it, then it happens again, ALWAYS happens, ALWAYS.

    I just reset....
    <pre><nowiki>Name Firefox
    Version 29.0.1
    Update History
    User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
    Profile Folder
    Enabled Plugins about:plugins
    Build Configuration about:buildconfig
    Memory Use about:memory
    Crash Reports for the Last 3 Days
    Report ID Submitted
    All Crash Reports (including 2 pending crashes in the given time range)
    Extensions
    Name Version Enabled ID
    McAfee SiteAdvisor 3.6.6 false {4ED1F68A-5463-4931-9384-8FFF5ED91D92}
    Important Modified Preferences
    Name Value browser.cache.disk.capacity 358400
    browser.cache.disk.smart_size_cached_value 358400
    browser.cache.disk.smart_size.first_run false
    browser.cache.disk.smart_size.use_old_max false
    browser.places.smartBookmarksVersion 6
    browser.sessionstore.upgradeBackup.latestBuildID 20140506152807
    browser.startup.homepage_override.buildID 20140506152807
    browser.startup.homepage_override.mstone 29.0.1
    dom.mozApps.used true
    extensions.lastAppVersion 29.0.1
    gfx.direct3d.last_used_feature_level_idx 0
    network.cookie.prefsMigrated true
    places.history.expiration.transient_current_max_pages 104858
    plugin.disable_full_page_plugin_for_types application/pdf
    plugin.importedState true
    privacy.sanitize.migrateFx3Prefs true
    Graphics
    Adapter Description Intel(R) HD Graphics Family
    Adapter Description (GPU #2) NVIDIA GeForce GT 540M
    Adapter Drivers igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32
    Adapter Drivers (GPU #2) nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Adapter RAM Unknown
    Adapter RAM (GPU #2) 2048
    Device ID 0x0116
    Device ID (GPU #2) 0x0df4
    Direct2D Enabled true
    DirectWrite Enabled true (6.2.9200.16571)
    Driver Date 11-28-2010
    Driver Date (GPU #2) 11-3-2011
    Driver Version 8.15.10.2253
    Driver Version (GPU #2) 8.17.12.8577
    GPU #2 Active false
    GPU Accelerated Windows 1/1 Direct3D 10
    Vendor ID 0x8086
    Vendor ID (GPU #2) 0x10de
    WebGL Renderer Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote false
    AzureCanvasBackend direct2d
    AzureContentBackend direct2d
    AzureFallbackCanvasBackend cairo
    AzureSkiaAccelerated 0
    JavaScript
    Incremental GC true
    Accessibility
    Activated false
    Prevent Accessibility 0
    Library Versions
    Expected minimum version Version in use
    NSPR 4.10.3 4.10.3
    NSS 3.16 Basic ECC 3.16 Basic ECC
    NSSSMIME 3.16 Basic ECC 3.16 Basic ECC
    NSSSSL 3.16 Basic ECC 3.16 Basic ECC
    NSSUTIL 3.16 3.16</nowiki></pre>

Maybe you are looking for