Trybolidew wrote:I am using TreeStyleTab and this works on Top/Bottom tabbar position however if the tabbar is on Left/Right, it only toggles the visibility of tabs but not the BAR (placeholder). Any advice?dorando wrote:Trybolidew wrote:I used this command to "Hide/Show TabBar":
"gBrowser.mStrip.collapsed = !gBrowser.mStrip.collapsed;"
But it doesn't work any more in Firefox 4 (with "Tabs on Top" disabled).
Would appreciate any suggestions for a shortcut key to Hide/Show TabBar ! Thanks.Code: Select all
gBrowser.tabContainer.parentNode.collapsed = !gBrowser.tabContainer.parentNode.collapsed;
Thanks a lot.
Code: Select all
gBrowser.tabContainer.parentNode.collapsed = !gBrowser.tabContainer.parentNode.collapsed;
gBrowser.treeStyleTab.splitter.hidden = !gBrowser.treeStyleTab.splitter.hidden;
gBrowser.treeStyleTab.splitter.previousSibling.hidden = !gBrowser.treeStyleTab.splitter.previousSibling.hidden;
For those with an oncommand you can get it with MenuManipulator, but you could also use the following with keyconfig (before clicking on a menu item)ekbworldwide wrote:nightson wrote:I used MenuManipulator to get the correct code from "Restore Previous Session" in history menu
Does MenuManipulator work like this(?)
- You select an element from a menu.
- The keyconfig(-like) code it uses can be copy and pasted.
Is that right?
Also - does it work inside the context-menu too?
Code: Select all
function getCommand(event) {
window.removeEventListener("command", arguments.callee, true);
event.preventDefault();
event.stopPropagation();
alert(event.target.getAttribute("oncommand") || event.target.getAttribute("onclick"));
}
window.addEventListener("command", getCommand, true);
TryCattleya wrote:Now, can you help me a hotkey to Flush DNS Cache like these addons:
https://addons.mozilla.org/vi/firefox/addon/dns-cache/
https://addons.mozilla.org/vi/firefox/a ... s-flusher/
Code: Select all
var networkIoService = Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService);
networkIoService.offline = true;
var cacheService = Components.classes["@mozilla.org/network/cache-service;1"]
.getService(Components.interfaces.nsICacheService);
cacheService.evictEntries(Components.interfaces.nsICache.STORE_ANYWHERE);
networkIoService.offline = false;
The menu item is still listed in the Tools menu in the Menu Bar (unhide it by pressing Alt or through Firefox Button > Options > Menu Bar).Noi wrote:[…] on Firefox 4.0 it is not possible to see the menu of "MenuManipulator", because no menu item is available (why not?), and i don't know other way to run this extension.
TryNoi wrote:How to set a Hotkey in Keyconfig to run "MenuManipulator”?
Code: Select all
openDialog('chrome://menumanipulator/content/main.xul', '_blank', 'resizable', window);
Anything in the Error Console?ballyhairs wrote:That didn't work for me, the only thing it does is to minimize when active, further nothing
Did you set the key to global? (Note that you need to disable/enable the linked extension after setting a key to global).