As the title said I’m trying to customize my keyboard shortcuts with autoconfig.js, but I don’t have much experience coding with javascript so I’m a little lost. The autoconfig.js solution was suggested in this thread (https://support.mozilla.org/bm/questions/1381773#answer-1517102), but the example they used was for a different shortcut. Specifically, I’m trying to change the private window shortcut from the default to ctrl + shift + n, but I wasn’t sure how. If anyone could offer some guidance besides third party extensions it would be greatly appreciated 👍
Removed by mod
Why would you want to do that?
Probably a habit learned in a Chromium-based browser.
I have never tried to do that. I understand there are details at the link below.
https://searchfox.org/mozilla-release/source/browser/base/content/browser-sets.inc
Here’s an example script to reassign Ctrl+Shift+B from back in the day when its function changed: https://www.reddit.com/r/firefox/comments/kilmm2/restore_ctrlshiftb_library_by_setting_configjs/
Hopefully that gives you a framework, and I have a more detailed reference article here using a different example (menu hotkey change, not keyboard shortcut): https://www.userchrome.org/what-is-userchrome-js.html#combinedloader