Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

How to disable Shift + RMB.

  • 3 απαντήσεις
  • 2 έχουν αυτό το πρόβλημα
  • 19 προβολές
  • Τελευταία απάντηση από equilerex

more options

i am working on a website that runs a java applet. when you click on it, it will bind the mouse and keyboard and it replaces the standard controls like mouse clicks and key + mouse combos with applet controls -it runs fine in all browsers but firefox which forces context menu to open when shift + right-click is used, i am guessing that it is a feature against sites that disable right clicks (cant even find any documentation abot it). but can it be disabled for this kind of use?

i am working on a website that runs a java applet. when you click on it, it will bind the mouse and keyboard and it replaces the standard controls like mouse clicks and key + mouse combos with applet controls -it runs fine in all browsers but firefox which forces context menu to open when shift + right-click is used, i am guessing that it is a feature against sites that disable right clicks (cant even find any documentation abot it). but can it be disabled for this kind of use?

Όλες οι απαντήσεις (3)

more options

Yes, websites disabling the context menu was a top complaint back in the day when Firefox was designed.

I don't think websites can easily override the user's preference; perhaps you can do it with a signed script?

If you want to suggest to users that they change this setting, it's here:

WIN: orange Firefox button or classic Tools menu > Options > Content
MAC: Firefox > Preferences > Content
LINUX: Edit > Preferences > Content

To the right of Enable JavaScript, click the "Advanced" button. The setting is "Allow scripts to __ Disable or replace context menus"

more options

Does this help?

  • Tools > Options > Content : JavaScript > Advanced > Allow Scripts to:
    • [X] "Disable or replace context menus"
more options

Unfortunately that setting is already enabled and working - i am able to disable right clicking completely (just for testing purposes) but if i hit shift + right-click it bypasses it and still brings up the menu (which is a really cool feature but it should be possible to switch it off, if not through the website then at least through browser settings)