Nothing happens when i try the shortcut key that i set for it which is Ctrl+Shft+P (i disabled the original item for that shortcut, start private browsing).
Is anyone else experiencing any problems with keyconfig and Firefox 19 on Linux? All of my shortcuts have stopped working, and I can't figure out why. There's no trace in Error Console. keyconfig still has all the original definitions. All the code is still there. I have Ctrl+Shift+~ mapped to opening a new tab with about:config, and Ctrl+Alt+R mapped to a browser restart. Neither works.
// Notify all windows that an application quit has been requested. var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"] .createInstance(Components.interfaces.nsISupportsPRBool);
keyConfig code add ids to some keys that Firefox add without id The id is in a format of id="xxx_key29_Browser:Reload" (the number is the index number in mainKeyset) then changes to that key are saved in the preference keyconfig.main.xxx_key29_Browser:Reload
what will happen if Firefox (or extension) will change the order in mainKeyset, or add new keys in the start of the list. Then the preference will not match the new id
var confrm = Services.prompt.confirmEx(null,"Remove all passwords", "Are you sure you wish to remove all passwords?", 16778243, null, null, null, null,{ value: false }); if (confrm == 0) Services.logins.removeAllLogins();
tnonce wrote:Is anyone else experiencing any problems with keyconfig and Firefox 19 on Linux? All of my shortcuts have stopped working, and I can't figure out why. There's no trace in Error Console. keyconfig still has all the original definitions. All the code is still there. I have Ctrl+Shift+~ mapped to opening a new tab with about:config, and Ctrl+Alt+R mapped to a browser restart. Neither works.
Seems to work for me on Slacko 5.3.3 with 19.0b4. Does changing/disabling other shortcuts work?
onemen wrote:Hello dorando,
keyConfig code add ids to some keys that Firefox add without id The id is in a format of id="xxx_key29_Browser:Reload" (the number is the index number in mainKeyset) then changes to that key are saved in the preference keyconfig.main.xxx_key29_Browser:Reload
what will happen if Firefox (or extension) will change the order in mainKeyset, or add new keys in the start of the list. Then the preference will not match the new id
The code responsible for that will likely be replaced by the code I posted for K4RBQT99.
titlebar02 wrote:I've been using Keyconfig for years without problems but a few minutes ago I upgraded to 18.0.2 and now all of the keyboard shortcuts are broken.
Anything in the Error Console (Tools > Web Developer)?
titlebar02 wrote:I've been using Keyconfig for years without problems but a few minutes ago I upgraded to 18.0.2 and now all of the keyboard shortcuts are broken.
Anything in the Error Console (Tools > Web Developer)?
I went to make a test for the Error Console and now everything is working again.
// remove all duplicate tabs a:for (var i = 0; i < gBrowser.tabContainer.childNodes.length; i++) { for (var j = 0; j < gBrowser.tabContainer.childNodes.length; j++) { var m = gBrowser.tabContainer.childNodes[i].linkedBrowser.currentURI.spec; var n = gBrowser.tabContainer.childNodes[j].linkedBrowser.currentURI.spec; if (i != j && j != gBrowser.tabContainer.selectedIndex && m == n) { gBrowser.removeTab(gBrowser.tabContainer.childNodes[j]); i = i - 1; continue a; } } }
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.