keyconfig 20110522
-
- Posts: 27
- Joined: September 12th, 2006, 9:31 am
I've recently (finally) updated from Firefox 1.5.0.10 to 2.0.0.2 as a clean install and found that the new keyconfig 20060828 wouldn't work anymore for three setups. I'm using codes found in the Mozillazine Knowledge Base Article found here - http://kb.mozillazine.org/Keyconfig_extension:_Firefox
1. Close Tab, focus Left — set as CTRL+[
Code:
user_pref("keyconfig.main.xxx_key__Close Tab & Focus to the left", "!][][][var tab = gBrowser.mCurrentTab; if(tab.previousSibling) gBrowser.mTabContainer.selectedIndex--; gBrowser.removeTab(tab);");
2. Close Tab, focus Right — set as CTRL+]
Code:
user_pref("keyconfig.main.xxx_key__Close Tab & Focus to the right", "!][][][var tab = gBrowser.mCurrentTab; if(tab.nextSibling) gBrowser.mTabContainer.selectedIndex++; gBrowser.removeTab(tab);");
And
3. Close Tab — simply reassigned key as "`"
If there are overlap keystrokes with FF defaults, I don't know which ones. And I've also noticed that when I copy the codes from the Mozillazine webpage into keyconfig sometimes the pasted text gets truncated, like it only paste half of what I highlighted, wherein I have to copy the other half again. Please help me.
Thanks.
____________________________________________________
<b><u>UPDATED</u></b>
I reinstalled my old FF 1.5.0.10, put back my old profile and looked into the old setup. The code provided by the MozillaZine keyconfig article was somehow different at the beginning part. It should be just this:
1. Close Tab, focus Left — set as CTRL+[
<u>Code:</u>
var tab = gBrowser.mCurrentTab; if(tab.previousSibling) gBrowser.mTabContainer.selectedIndex--; gBrowser.removeTab(tab);
2. Close Tab, focus Right — set as CTRL+]
<u>Code:</u>
var tab = gBrowser.mCurrentTab; if(tab.nextSibling) gBrowser.mTabContainer.selectedIndex++; gBrowser.removeTab(tab);
3. Close Tab — simple reassignment to "`"
The third one turns out that I forgot to click "Apply".
That's it. My bad.
1. Close Tab, focus Left — set as CTRL+[
Code:
user_pref("keyconfig.main.xxx_key__Close Tab & Focus to the left", "!][][][var tab = gBrowser.mCurrentTab; if(tab.previousSibling) gBrowser.mTabContainer.selectedIndex--; gBrowser.removeTab(tab);");
2. Close Tab, focus Right — set as CTRL+]
Code:
user_pref("keyconfig.main.xxx_key__Close Tab & Focus to the right", "!][][][var tab = gBrowser.mCurrentTab; if(tab.nextSibling) gBrowser.mTabContainer.selectedIndex++; gBrowser.removeTab(tab);");
And
3. Close Tab — simply reassigned key as "`"
If there are overlap keystrokes with FF defaults, I don't know which ones. And I've also noticed that when I copy the codes from the Mozillazine webpage into keyconfig sometimes the pasted text gets truncated, like it only paste half of what I highlighted, wherein I have to copy the other half again. Please help me.
Thanks.
____________________________________________________
<b><u>UPDATED</u></b>
I reinstalled my old FF 1.5.0.10, put back my old profile and looked into the old setup. The code provided by the MozillaZine keyconfig article was somehow different at the beginning part. It should be just this:
1. Close Tab, focus Left — set as CTRL+[
<u>Code:</u>
var tab = gBrowser.mCurrentTab; if(tab.previousSibling) gBrowser.mTabContainer.selectedIndex--; gBrowser.removeTab(tab);
2. Close Tab, focus Right — set as CTRL+]
<u>Code:</u>
var tab = gBrowser.mCurrentTab; if(tab.nextSibling) gBrowser.mTabContainer.selectedIndex++; gBrowser.removeTab(tab);
3. Close Tab — simple reassignment to "`"
The third one turns out that I forgot to click "Apply".
That's it. My bad.
-
- Posts: 2
- Joined: September 11th, 2003, 3:33 pm
May I humbly request that this extension be easier to find?
When hitting "Get Extensions" from Firefox's Add-Ons page, I get to
https://addons.mozilla.org/firefox/extensions/
but here the keyconfig extension isn't to be found at all. A "Functions for keyconfig" extension is mentioned and has a link to http://www.extensionsmirror.nl/index.php?showtopic=254 in one of the comments but this times out.
http://extensionroom.mozdev.org/more-info/keyconfig (found by google) has only version
20050313 - which doesn't support Firefox 2.0.*
Finally, I found http://mozilla.dorando.at/ with a good version of keyconfig. I love this extension and have used it on other installations, and always find it difficult to find. And that is such a shame!!! At least now I know I can always find this post!
(Or is there a particular reason for not wanting to update https://addons.mozilla.org/firefox/extensions/ ?)
When hitting "Get Extensions" from Firefox's Add-Ons page, I get to
https://addons.mozilla.org/firefox/extensions/
but here the keyconfig extension isn't to be found at all. A "Functions for keyconfig" extension is mentioned and has a link to http://www.extensionsmirror.nl/index.php?showtopic=254 in one of the comments but this times out.
http://extensionroom.mozdev.org/more-info/keyconfig (found by google) has only version
20050313 - which doesn't support Firefox 2.0.*
Finally, I found http://mozilla.dorando.at/ with a good version of keyconfig. I love this extension and have used it on other installations, and always find it difficult to find. And that is such a shame!!! At least now I know I can always find this post!
(Or is there a particular reason for not wanting to update https://addons.mozilla.org/firefox/extensions/ ?)
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
A few of the reasons had been posted to the undoclosetab thread, and so far not enough has changed to reevaluate the situation, considering the still missing <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=371210" title="Check add-ons for security vulnerabilities at submission">security auditing</a> (search the addons.mozilla.org component for execute or JSON for some examples). Sadly there are even <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=369417" title="[broken add-on] onFocusReload (3655)">indications</a> that some extensions are not tested at all.
-
- Posts: 165
- Joined: March 19th, 2007, 6:24 am
dorando wrote:Yes, by clicking the 'Disable' button.Jim001 wrote:Is there any way to disable keyboard shortcuts?This shortcut is not defined by a <key> but by an event handler. Those shortcuts cannot be modified with keyconfig.Jim001 wrote:For example [...] apostrophe (') [...]Uhm, <a href="http://mozilla.dorando.at/keyconfig.xpi">keyconfig</a> does work with the latest version...Jim001 wrote:Anyway, Dorando's extension doesn't work for the latest version, [...]
Hi!
Cuz I have a German keyboard, both the apostrophe ' and the fwd slash / are only accessible via a {shift + '} or {shift + /} combination.
This is quite regrettable as I really like the "quickfind" feature which is connected to these two keys in Firefox, and they become less quick / less intuitive / less direct if I can't get the quickfind with a single stroke.
I've been googling around and found nothing intrinsically helpful.
Got both Keyconfig and Functions for Keyconfig installed. I've managed to do some minor adaptions, but now I'm not even sure if what I want is "possible".
If, as you say, the apostrophe is an "event handler" and hence cannot be modified via Keyconfig, how, if at all, can I change it, say, to the hash # ?
Any help: much appreciated!!!!!!!!!
chirp.
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Add a new key with following code and assign a shortcut to it.
Code: Select all
gFindBar.openFindBar(true);
gFindBar.setFindMode(FIND_TYPEAHEAD);
gFindBar.selectFindBar();
gFindBar.focusFindBar();
-
- Posts: 165
- Joined: March 19th, 2007, 6:24 am
Well,dorando wrote:Add a new key with following codeand assign a shortcut to it.Code: Select all
gFindBar.openFindBar(true);
gFindBar.setFindMode(FIND_TYPEAHEAD);
gFindBar.selectFindBar();
gFindBar.focusFindBar();
I meant quickfind, not the general find, vide supra. To which does your code apply?
Moreover, the SEARCHHOTKEYS extension is an excellent solution.
chirp.
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
-
- Posts: 375
- Joined: September 13th, 2004, 2:02 pm
- DynaBMan
- Posts: 383
- Joined: November 15th, 2003, 9:46 pm
- Location: Oklahoma
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Assuming openLightningKey from Lightning 0.3.1 following toggle seems to work:
Code: Select all
if(gMsgFolderSelected || !gPrevSelectedFolder) {
gPrevSelectedFolder = gMsgFolderSelected;
keyconfig.focusedElement = document.commandDispatcher.focusedElement;
ltnMinimonthPick(document.getElementById('ltnMinimonth'))
} else {
SelectFolder(gPrevSelectedFolder.Value);
if(keyconfig.focusedElement)
keyconfig.focusedElement.focus();
else if(!IsMessagePaneCollapsed())
window.setTimeout(SetFocusMessagePane,0);
}
- DynaBMan
- Posts: 383
- Joined: November 15th, 2003, 9:46 pm
- Location: Oklahoma
-
- Posts: 5
- Joined: January 22nd, 2006, 9:52 pm
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact: