Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

I am using Firefox for a Kiosk application. Can I disable the context menu and zooming?

  • 2 válasz
  • 2 embernek van ilyen problémája
  • 71 megtekintés
  • Utolsó üzenet ettől: cor-el

more options

I am using Firefox for a Kiosk application on a large touch screen monitor. I would like to prevent users from interacting with the browser interface. Is there a way to do this? Disabling the context menu and zooming for touch gestures would prevent users from getting into a state where they are unable to use the application.

I am using Firefox for a Kiosk application on a large touch screen monitor. I would like to prevent users from interacting with the browser interface. Is there a way to do this? Disabling the context menu and zooming for touch gestures would prevent users from getting into a state where they are unable to use the application.

Kiválasztott megoldás

hi TrevorTubbs, you can disable zooming in the browser with the method described at http://kb.mozillazine.org/Locking_preferences & locking those preferences:

lockPref("toolkit.zoomManager.zoomValues"; "1");
lockPref("zoom.maxPercent"; 100);
lockPref("zoom.minPercent"; 100);

i'm not sure about disabling the context menu though...

Válasz olvasása eredeti szövegkörnyezetben 👍 1

Összes válasz (2)

more options

Kiválasztott megoldás

hi TrevorTubbs, you can disable zooming in the browser with the method described at http://kb.mozillazine.org/Locking_preferences & locking those preferences:

lockPref("toolkit.zoomManager.zoomValues"; "1");
lockPref("zoom.maxPercent"; 100);
lockPref("zoom.minPercent"; 100);

i'm not sure about disabling the context menu though...

more options

You can lock browser.gesture prefs to an empty string to prevent them from working.

Note that the mozilla.cfg file needs to start with a comment line (\\)

//
lockPref("toolkit.zoomManager.zoomValues", "1");
lockPref("zoom.maxPercent", 100);
lockPref("zoom.minPercent", 100);

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also: