Forum Moderators: open

Message Too Old, No Replies

How to disable right mouse click in Opera browser?

         

wood_flower

2:09 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



I have many images in my site and i don't want users can save them, so i have added the below javascript code to my HTML file's header:


<snip>

The problem is this code only work if user using IE or Netscape browser, not for Opera user! Please, give me some idea to block Opera user from right mouse click while browsing my site!
Many thanks for any reply!

[edited by: Brett_Tabke at 2:12 pm (utc) on April 12, 2004]
[edit reason] can't do copyrighted code in these forums... [/edit]

Brett_Tabke

2:11 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Not possible to do. Nor possible in ie/nn with the right tools. If people want you images. They will snag them.

mifi601

2:13 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



anybody who wants to copy your content or images will. trying to stop them is futile and disabling the right mouse button TRULY ennoying since it stops me from navigating and it will make sure that I will not visit the site again - unless it is truly outstanding (in which case it would not disable my whole right mouse button menu!)

my 2c

wood_flower

2:22 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Still need javascript code to disable right mouse click in Opera browser, any advices?
Thanks for your support!

DrDoc

3:23 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is no JavaScript code that can do that...

wood_flower

3:35 pm on Apr 12, 2004 (gmt 0)

10+ Year Member



Phew, so bad!

victor

4:46 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No bad, just an opportunity:
  • Write your own browser.
  • Only allow access to your site via your browser.
  • Disallow alt-click for whatever files you like in your browser.
  • Watch your traffic stats and be happy.

    Alternatively, if the web does not meet your requirements for content distribution, don't use it.

  • Brett_Tabke

    4:51 pm on Apr 12, 2004 (gmt 0)

    WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



    Plus, a screen capture is best on lots of images too.

    mifi601

    4:58 pm on Apr 12, 2004 (gmt 0)

    10+ Year Member



    on another note - I use Opera and have image loading turned off anyway :)

    don't worry about Opera users and them stealing your precious images.

    use your creativity to write better content!

    Plus, a screen capture is best on lots of images too.

    not necessarily; there are still lots of unoptimized pics out there, where you get much better resolution from the source file :)