homepage Welcome to WebmasterWorld Guest from 54.161.175.231
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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




msg:1482490
 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




msg:1482491
 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




msg:1482492
 11:09 pm on Apr 13, 2005 (gmt 0)

This seems to work:

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

Bernard Marx




msg:1482493
 12:01 am on Apr 14, 2005 (gmt 0)

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

jollymcfats




msg:1482494
 12:37 am on Apr 14, 2005 (gmt 0)

The question was only about one particular browser, Firefox.

Rambo Tribble




msg:1482495
 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




msg:1482496
 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




msg:1482497
 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




msg:1482498
 12:44 pm on Apr 14, 2005 (gmt 0)

It still works on XP Pro, SP 2.

grassmonk




msg:1482499
 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




msg:1482500
 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




msg:1482501
 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




msg:1482502
 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