You can customize browser-internal shortcuts with a script in your profile dir.
For example this is my script
‹user profile›/chrome/removeshortcuts.uc.js
var ids = `
viewBookmarksSidebarKb
key_quitApplication
openFileKb
key_savePage
printKb
goBackKb2
goForwardKb2
addBookmarkAsKb
bookmarkAllTabsKb
manBookmarkKb
viewBookmarksToolbarKb
`.replace(/\s+/g,' ').trim().split(' ');
ids.forEach( id=>{
var key = document.getElementById(id);
if (key) key.remove();
});
var originalKey = document.getElementById("key_screenshot");
if (originalKey) {
// Clone the original key
var newKey = originalKey.cloneNode(true);
// Set the new id and shortcut for the new key
newKey.setAttribute("id", newKey.id+"_redjard_alt");
if (newKey.hasAttribute('data-l10n-id'))
newKey.setAttribute("data-l10n-id", newKey.getAttribute('data-l10n-id')+"_redjard_alt");
newKey.setAttribute("key", "S");
newKey.setAttribute("modifiers", "accel");
// Add the new key to the parent of the original key
originalKey.parentNode.appendChild(newKey);
}
The script removes the shortcuts listed in the beginning and adds an alternate shortcut for screenshots to ctrl+s.
You can see all internashortcuts by opening a browser console and querying the shortcut elements (using regular javascript)
