homepage Welcome to WebmasterWorld Guest from 54.204.182.118
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Fire Fox, right click disabled
bartainer

5+ Year Member



 
Msg#: 3552 posted 8:18 pm on Apr 13, 2005 (gmt 0)

Is it possible to disable right click in FF? I did insert the code, but it only works in I.E. My client wants this feature to protect copyright written material. Pesonally, I do not care for this feature. I would prefer a water mark.

Ron

 

kaled

WebmasterWorld Senior Member kaled us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3552 posted 10:29 pm on Apr 13, 2005 (gmt 0)

Its a complete waste of time. You could look at the source code, find the url to an image, type it in the address bar and save the result.

Alternatively, disabling javascript will work. I'm sure there are other ways too.

Kaled.

jollymcfats

10+ Year Member



 
Msg#: 3552 posted 11:09 pm on Apr 13, 2005 (gmt 0)

This seems to work:

<img ... oncontextmenu="return false;">

Bernard Marx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3552 posted 12:01 am on Apr 14, 2005 (gmt 0)

..until you try it in more than one particular browser.

jollymcfats

10+ Year Member



 
Msg#: 3552 posted 12:37 am on Apr 14, 2005 (gmt 0)

The question was only about one particular browser, Firefox.

Rambo Tribble

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3552 posted 1:57 am on Apr 14, 2005 (gmt 0)

I'm a fan of the transparent GIF overlay. That way they think they've saved the image, but noooo. . .

SpaceFrog

5+ Year Member



 
Msg#: 3552 posted 7:31 am on Apr 14, 2005 (gmt 0)

What ever kind of protection you try to involve in your page with no right click is pointless, you will only fool a newbie... source is always reachable you can also copy screen or acces cache ...
If you really want to protect your images, put a copyright on them, that about all you can do except not puting them at all ...

Bernard Marx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3552 posted 8:32 am on Apr 14, 2005 (gmt 0)

Apologies, jollyfmcats, I reaally should try to keep up. Looks like oncontext menu is supported by Mozilla. ( [lab.artlung.com...] ).

Not by Opera, it seems, but it still means very reasonable coverage.

I had a feeling the SP2 disabled this feature, but I can't test that.

Rambo Tribble

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3552 posted 12:44 pm on Apr 14, 2005 (gmt 0)

It still works on XP Pro, SP 2.

grassmonk

5+ Year Member



 
Msg#: 3552 posted 9:55 pm on Apr 19, 2005 (gmt 0)

Firefox has an option ignore JS code that disables the context menu, so you can't rely on an oncontextmenu="return false;".

dcrombie

10+ Year Member



 
Msg#: 3552 posted 9:55 am on Apr 20, 2005 (gmt 0)

kaled is right, it's a waste of time. I don't even have a right mouse button and can quite easily copy anything protected that way ;)

artdeco

5+ Year Member



 
Msg#: 3552 posted 11:19 am on Apr 20, 2005 (gmt 0)

the right click js is such an old trick,just edit>select all>copy
or easier view source
or edit with front page(IE)
or print screan copy paste in Photo shop

Leosghost

WebmasterWorld Senior Member leosghost us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3552 posted 12:25 pm on Apr 20, 2005 (gmt 0)

There is a phenominaly complex way ...involving only delivering images if the user has .js accepted and banning all bots from your image files and crypting the calls to the .js files and crypting the paths to your image files and etc etc etc and hacking the user computer to prevent screen capture in all browsers etc etc..and htaccess restrictions ..

Been there done that ..stopped doing it ( most browsers thought my site was installing malware ;) ..locked up visitors machines and required reboot of their system so they could get back their clipboard facility ..;)

very very bad for PR ..( public relations ..not page rank )

Use watermarks ..life is complicated enough as it is ..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved