Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

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

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

Changing the sidebar shortcut from the UI

  • Καμία απάντηση
  • 0 έχουν αυτό το πρόβλημα
  • 87 προβολές
  • Open

There seems to be no possible way to change the shortcut for peeking at the tabs in the sidebar (when sidebar revamp is enabled) from the about:keyboard UI. I have so far managed to modify the shortcut through intercepting function calls.

What I have done: 1. Read through the JS source code for about:keyboard which says the shortcut ID is `toggleSidebarKb` 2. Added hooks to intercept `RPMSendQuery` calls 3. Modified the shortcut through devtools open on the about:keyboard page with the following snippet

```js await RPMSendQuery("CustomKeys:ChangeKey", {

 "modifiers": "accel",
 "isValid": true,
 "key": "S",
 "shortcut": "Ctrl+S",
 "id": "toggleSidebarKb"

}) ```

The way I am doing it is definitely a hack. I am not sure if I am missing something. Although the shortcuts for bookmarks, history, and GenAI chat sidebar are present, there seems to be no entry to change the sidebar toggle shortcut itself. I'd love to work on this but I haven't been able to mach bootstrap on NixOS.

Thank you for any assistance :)

There seems to be no possible way to change the shortcut for peeking at the tabs in the sidebar (when sidebar revamp is enabled) from the about:keyboard UI. I have so far managed to modify the shortcut through intercepting function calls. What I have done: 1. Read through the JS source code for about:keyboard which says the shortcut ID is `toggleSidebarKb` 2. Added hooks to intercept `RPMSendQuery` calls 3. Modified the shortcut through devtools open on the about:keyboard page with the following snippet ```js await RPMSendQuery("CustomKeys:ChangeKey", { "modifiers": "accel", "isValid": true, "key": "S", "shortcut": "Ctrl+S", "id": "toggleSidebarKb" }) ``` The way I am doing it is definitely a hack. I am not sure if I am missing something. Although the shortcuts for bookmarks, history, and GenAI chat sidebar are present, there seems to be no entry to change the sidebar toggle shortcut itself. I'd love to work on this but I haven't been able to mach bootstrap on NixOS. Thank you for any assistance :)

Πρέπει να συνδεθείτε στον λογαριασμό σας για να απαντήσετε σε δημοσιεύσεις. Ξεκινήστε μια νέα ερώτηση εάν δεν διαθέτετε ακόμα λογαριασμό.