Firefox browser disable safe mode

I use Windows 7 and I played with the Firefox browser for a while. I want to create a kiosk application using it, I installed a plugin for it, but the problem is that when I launch the Firefox application, if I press Shift, it goes into safe mode.

I read several google guides that tell me to change chrome/browser.jar, but I don't have such a file in my Firefox folder.

I need help disabling a feature that allows me to enter safe mode by pressing Shift.

+3
source share
2 answers

, , Shift . , , components/nsBrowserGlue.js:

// check if we're in safe mode
if (Services.appinfo.inSafeMode) {
  Services.ww.openWindow(null, "chrome://browser/content/safeMode.xul", 
                         "_blank", "chrome,centerscreen,modal,resizable=no", null);
}

. modules/XPIProvider.jsm , :

if (Services.appinfo.inSafeMode)
  return false;

onmi.ja Firefox.

, XULRunner, . , Open Kiosk (, , ) XULRunner.

+4

Firefox , :

browser.sessionstore.resume_from_crash  => false
toolkit.startup.max_resumed_crashes     => -1
0

All Articles