Does changing the shortcuts also fail? What does pastinggwhtech wrote:Dorando: Nothing in the Error Console. Thunderbird 3.1.4. Disabled ALL extensions and it still fails. Has no effect on the functioning of the shortcut keys.
Code: Select all
alert(top.keyconfig);
In Tools > Options > Advanced > General > Config Editor… (Strumenti > Opzioni… > Avanzate > Generale > Editor di configurazione…) you can filter for keyconfig prefs to see those you've changed.mantra wrote:can i reset all the shortcuts i edited?
i mean for example i forget some keys i edited
can i reset all the shortcuts to default?
TryOzarksCrescentMural wrote:What's the keyconfig command for closing a window?
Code: Select all
BrowserTryToCloseWindow()
gBrowser.duplicateTab doesn't exist in 2.0.0.x without extensions (it was added in 3.0.x IIRC), but you could try something likeOzarksCrescentMural wrote:I found this to duplicate a tab, but it's not working. Does anyone have the right command to Duplicate the Current Tab?
gBrowser.duplicateTab(gBrowser.mCurrentTab);
Code: Select all
var oldHistory = gBrowser.webNavigation.sessionHistory;
gBrowser.selectedTab = gBrowser.addTab("about:blank");
var newHistory = gBrowser.webNavigation.sessionHistory;
newHistory.QueryInterface(Components.interfaces.nsISHistoryInternal);
for (var i = 0, l = oldHistory.count; i < l; i++)
newHistory.addEntry(oldHistory.getEntryAtIndex(i, false), true);
if(oldHistory.count)
gBrowser.webNavigation.gotoIndex(oldHistory.index);
Double clicking or using the misnamed context menu > Edit this key should show you the code.OzarksCrescentMural wrote:I'm curious what the actual command is, since you can't see the commands for the ones that were already there.