Поиск в Поддержке

Избегайте мошенничеств со службой поддержки. Мы никогда не просим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Сообщить о нарушении».

Learn More

[Mysolved] How to disable all shortcuts in FF?

  • 6 ответов
  • 1 имеет эту проблему
  • 4 просмотра
  • Последний ответ от rey0n

more options

As there is no way to customize FF shortcuts, How to Disable them all together? In any way: editing settings, browser internal files, whatever. No, it's not about addon shortcuts. Yes, i already checked smt like a hundred topics/adviced addons web-search could provide, and none works.

Изменено rey0n

Выбранное решение

so, as there is no help and Firefox can't provide simpliest customization ability, here's a hack-solution i found for those like me searching for one:

0/ Everything below is done with NO Firefox runing, close it beforehand

1/ App folder Firefox\browser\omni.ja -open this file with any archiver(basically it's a zip file with changed extension). Inside of omni.ja look for \chrome\browser\content\browser\browser.xhtml =extract it, this file contains keyboard shortcuts(and many interesting stuff).

2/ If you want to change some shortkeys, search for for proper blocks(example bellow) OR comment everything inside <keyset id="mainKeyset">..</keyset> =this should disable ALL shortkeys Example, changing shortkey for "Quit Firefox"

   <key id="key_quitApplication" data-l10n-id="quit-app-shortcut"
        modifiers="accel,shift"
        command="cmd_quitApplication"
        reserved="true"/>

=original block found in browser.xhtml

   <key id="key_quitApplication"
        key="w"
        modifiers="accel,shift,alt"
        command="cmd_quitApplication"
        reserved="true"/>

=edited block that makes usual Ctrl+Shift+Q to become Ctrl+Shift+Alt+W =(compare to understand what makes difference)

3/ Drop edited [browser.xhtml] into its place in [omni.ja] with NO archivation

4/ Profile folder of Firefox - Delete \startupCache folder for edits to take effect(folder will be recreated with browser start)

Hope this will help to smb stubborn and searching for solution like me.)

Прочитайте этот ответ в контексте 👍 0

Все ответы (6)

more options

The question is a little ambiguous, but from what I understand you are referring to keyboard shortcuts. If that's the case : 1. Open a new tab in FF and type "about:config" and ENTER. 2. You might get a screen asking you to proceed with caution (you should !) and click on proceed. 3. In the search bar, paste "permissions.default.shortcuts". 4. Double click on the field and enter 2 (to completely block it) and click on the tick symbol.

Hopefully, that should solve it. If not, please reply with a better explantion of the problem.

Полезно?

more options

deleted.

Изменено rey0n

Полезно?

more options

2Bor~2B said

4. Double click on the field and enter 2 (to completely block it) and click on the tick symbol.

tried before asking here, no effect, keyboard shortcuts still work. the problem is simple - as FF doesn't allow customization of its keyboard shortcuts, i want to turn them off completely.

Полезно?

more options

Выбранное решение

so, as there is no help and Firefox can't provide simpliest customization ability, here's a hack-solution i found for those like me searching for one:

0/ Everything below is done with NO Firefox runing, close it beforehand

1/ App folder Firefox\browser\omni.ja -open this file with any archiver(basically it's a zip file with changed extension). Inside of omni.ja look for \chrome\browser\content\browser\browser.xhtml =extract it, this file contains keyboard shortcuts(and many interesting stuff).

2/ If you want to change some shortkeys, search for for proper blocks(example bellow) OR comment everything inside <keyset id="mainKeyset">..</keyset> =this should disable ALL shortkeys Example, changing shortkey for "Quit Firefox"

   <key id="key_quitApplication" data-l10n-id="quit-app-shortcut"
        modifiers="accel,shift"
        command="cmd_quitApplication"
        reserved="true"/>

=original block found in browser.xhtml

   <key id="key_quitApplication"
        key="w"
        modifiers="accel,shift,alt"
        command="cmd_quitApplication"
        reserved="true"/>

=edited block that makes usual Ctrl+Shift+Q to become Ctrl+Shift+Alt+W =(compare to understand what makes difference)

3/ Drop edited [browser.xhtml] into its place in [omni.ja] with NO archivation

4/ Profile folder of Firefox - Delete \startupCache folder for edits to take effect(folder will be recreated with browser start)

Hope this will help to smb stubborn and searching for solution like me.)

Полезно?

more options

As far a I know then the two omni.ja archives are signed in current Firefox releases (they have a META-INF folder) and that makes it impossible to tamper with these archive files.

Полезно?

more options

cor-el said

As far a I know then the two omni.ja archives are signed in current Firefox releases (they have a META-INF folder) and that makes it impossible to tamper with these archive files.
can't say for sure how, but it works for me. maybe 'cause i have browser.launcherProcess.enabled= false

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.