Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Right Click prohibited on websites?

    If you use View>Source for the page, you probably willl find some JavaScript that intercepts the right-click keystroke.

  2. #2
    Gold Lounger Rebel's Avatar
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    3,024
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Right Click prohibited on websites?

    Exactly as Jefferson says. Have a look at this page for some code that you can copy and paste into your site.
    John
    A Child's Mind, Once Stretched by Imagination...
    Never Regains Its Original Dimensions

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    Keep in mind that disabling right clicks will not stop a determined user; you can always view the source code of a page. From there, a user could determine where the image or other object lives on the server and download it anyway (not to mention that it will be in the browser cache as well).
    -Mark

  4. #4
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    You don't even need to view the source, simply tab over to it, and hit SHIFT+F10, same as a right click, but I've not seen the JavaScript most people use stop that. Have you seen people disabling the keyboard shortcut as well?

    TIA

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    No, but actually I have never attempted to use the Shift+F10 shortcut either. By the time you tab to the right place, you could have already opened the View - Source option.

    That's an interesting point, though, the script intercepts mouse activity, not the keyboard equivalent. I would wager that most folks using that script got it canned from somewhere, and the original author was not even aware that you could use Shift+F10!
    -Mark

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Right Click prohibited on websites?

    You might defeat this with an onFocus() event handler that immediate removes focus, but that's just an untested theory. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  7. #7
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    Sounds like it would make it difficult to use an element that needed the focus if someone did something like that. I see people that think it need to turn off menus and toolbars in a browser to hide URLs think it neat, but they forget about hitting F-11 to go full screen, and then there's an address bar showing the URL they were trying to hide. One would also need to be careful and use the Onfocus event in those elements surrounding an image etc. that doesn't support that event.

    FWIW

  8. #8
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    True with the view source, but you really don't even need that. Do a Save As Web page complete, then get all the images at once, and not have to mess with shortcuts or viewing the source.

    -T

  9. #9
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Newark, New Jersey, USA
    Posts
    800
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    Good call Tom...
    I remembered that my husband, <img src=/S/wolfman.gif border=0 alt=wolfman width=18 height=24>, had used this trick before. I checked some of the sites he's created lately and found that this site danimara.com used the disable right-click trick. I tried your SHIFT+F10 move and it worked. Neat trick.
    have fun
    <IMG SRC=http://www.wopr.com/w3tfiles/33-312966-ldywolfsig.jpg> <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>
    Moderator
    www.theladywolf.com

  10. #10
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    Why do people call it a neat trick? Developers at a potential vendor were shocked when they heard me tell how I got into their disabled links. Just look up keyboard shortcuts in most any Windows version's Help files, and you'll find listed all the Windows shortcuts. Don't forget the built-in Application Key on Microsoft Natural Keyboards and clones... good grief it's so well documented...

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Right Click prohibited on websites?

    "Neat trick" is an expression of joy at discovering something new and useful that saves time or energy, and you probably should interpret it as a compliment. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> From your perspective, you might simply be pointing out the obvious, but most people do not have the time to read the documentation for Internet Explorer or even for Windows. It's helpful to be reminded of useful ones that we might never have seen a use for and therefore let drift from memory.

  12. #12
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    I know what neat trick means. It's simply very bad design with all the keyboards out there now with a single key dedicated to shortcut menu, and I'm sorely disappointed to run into vendors that think the disabling of the mouse is a solution to poor security, I'll not go in to details nor mention vendors. It doesn't take much to find the app key on a keyboard sporting it. From my perspective, I've run into a few vendors now, that appear to be really naive startups, so I don't think it's a neat trick. I think it's a sad state of development.

  13. #13
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    We all have our areas of expertise. I would wager that most folks are not aware of the multitude of keyboard shortcuts that exist, and even those that are aware of them appreciate another nugget of knowledge. If you think about this logically, disabling mouse clicks on a web page will thwart many a user simply because they are not aware of the many workarounds.

    "Sad state of development" could apply to many things, computer technologies being just one.
    -Mark

  14. #14
    3 Star Lounger
    Join Date
    Jan 2004
    Location
    London, Middlesex, England
    Posts
    268
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Right Click prohibited on websites?

    Edited by WyllyWylly to add URL code. See the Quick Guide.[/i] <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    Hello,

    If you goto the website:

    http://www.msproject.com

    And right-click on any of the graphics on the right-side, you'll see the message as per the attached graphic.

    How can I do that on a personal website?

    Bob.
    Attached Images Attached Images

  15. #15
    New Lounger
    Join Date
    Mar 2004
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Right Click prohibited on websites?

    When you're dealing with a potential vendor that's creating something for people involved with cybercrime fighting, and they use a script to disable a right-click of the mouse, as almost the sole level of protection, I find it unconscionable and a very sad state of development, that's why I made my points. Needless to say I'll not ever work with the vendor again.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •