snakesmum wrote:Do you know if it's possible to use Keyconfig to alter the browsing shortcut
CTRL-Tab to CTRL-Shift with this progam?
Nope, Ctrl+Tab is defined by an eventListener and those can't be supported in a generic way, also Ctrl+Shift alone can't be used by the key handler.
Instead you can create a custom extensions to achieve that by using a
blank (.xpi is a .zip) one and pasting following above the </overlay> in overlays/main.xul
Code: Select all
<script><![CDATA[
var ctrlShift = {
init: function(){
gBrowser.mTabBox.handleCtrlTab = false;
window.addEventListener("keydown", ctrlShift._keyEventHandler, false);
},
_keyEventHandler: function(event){
if(!event.isTrusted || event.altKey || event.metaKey) return;
if(event.ctrlKey && event.shiftKey && event.keyCode == 16) {
gBrowser.mTabContainer.advanceSelectedTab(1,true);
event.stopPropagation();
event.preventDefault();
}
}
}
window.addEventListener("load",ctrlShift.init,false);
]]></script>
Note because this would prevent you from using any Ctrl+Shift combinations I've added
so that those can still work if you first press shift. Also note that if you want Ctrl+Tab to work in addition you can remove the
Code: Select all
gBrowser.mTabBox.handleCtrlTab = false;
line.