keyconfig 20110522
-
- Posts: 57
- Joined: October 7th, 2010, 11:14 pm
Re: keyconfig 20110522
Hi all, I need help again
I need custom keys to:
- Backward in New Tab
- Forward in New Tab
- Backward in New Window
- Forward in New Window
And is it possiable to Reload All Image on page with a hotkey ?
Example I change permissions.default.image to disable image from load, open a page, then change permissions.default.image to Allow image, and Reload All Image to show image without Reload Page ?
Thank!
I need custom keys to:
- Backward in New Tab
- Forward in New Tab
- Backward in New Window
- Forward in New Window
And is it possiable to Reload All Image on page with a hotkey ?
Example I change permissions.default.image to disable image from load, open a page, then change permissions.default.image to Allow image, and Reload All Image to show image without Reload Page ?
Thank!
-
- Posts: 1086
- Joined: November 8th, 2011, 12:06 pm
Re: keyconfig 20110522
why is the title of this thread "keyconfig 20110522" and not just "keyconfig" ??
- tonymec
- Posts: 734
- Joined: October 15th, 2004, 2:58 am
- Location: Ixelles (Brussels Capital Region, Belgium)
- Contact:
Re: keyconfig 20110522
firefoxuse wrote:why is the title of this thread "keyconfig 20110522" and not just "keyconfig" ??
Because 20110522 is the current version of keyconfig. It means "22 May 2011" which is the day it was released. As you can see from the first post in the thread, the previous version was 20110323 (i.e. 23 March 2011).
Best regards,
Tony
Tony
-
- Posts: 1
- Joined: November 28th, 2012, 6:48 pm
Re: keyconfig 20110522
First, I should say that this add-on has been a remarkable contribution to my productivity. I am forever in your debt. My dilemma is this: I would love to be able to create a new window that automatically closes whenever it loses focus. After several failed attempts by various means (the most seemingly prominent of which involved the setAttribute() method) I am beginning to think I've aimed for something outside the scope of keyconfig. However, I thought I would ask here before I gave up on the endeavor. Thanks so much for your dedication!
-
- Posts: 3
- Joined: November 20th, 2012, 1:50 pm
Re: keyconfig 20110522
AceK wrote: I would love to be able to create a new window that automatically closes whenever it loses focus.
IMHO, this job must be done by your Window Manager or an additional tools like http://www.burtonini.com/blog/computers/devilspie ...
-
- Posts: 11
- Joined: July 11th, 2011, 3:10 am
Re: keyconfig 20110522
I like to move messages directly to a folder - with a shortcut.
In Thunderbird 17.
In the article
http://guarly.wordpress.com/2010/04/30/ ... -a-folder/
I found that code:
The URI I get of the properties of my folder "doloret".
But the code does not work.
Do you know how to solve the task?
Thanks.
In Thunderbird 17.
In the article
http://guarly.wordpress.com/2010/04/30/ ... -a-folder/
I found that code:
Code: Select all
MsgMoveMessage(GetMsgFolderFromUri(‘imap://lorem%40ipsum.tld@imap.ipsum.tld/doloret’));
The URI I get of the properties of my folder "doloret".
But the code does not work.
Do you know how to solve the task?
Thanks.
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Re: keyconfig 20110522
TryLinkintones wrote:Is it possible to add a hotkey for unloading all tabs like Firefox does when resuming a saved session?
Code: Select all
var SessionStore = Components.classes["@mozilla.org/browser/sessionstore;1"].getService(Components.interfaces.nsISessionStore);
var state = SessionStore.getBrowserState();
SessionStore.setBrowserState('{"windows":[{"tabs":[{}]}]}');
SessionStore.setBrowserState(state);
Likely Bug 799348 - [Firefox 16] load event is not always triggered by XUL windows, fixed in Firefox 17.hamelg wrote:Is it a bug ?
Modifiers by itself are not usable for <key>s.firefoxuse wrote:is it possible by pressing ALT to click GO button, only when focus is inside address bar?
tonymec wrote:Find out the mailbox URL for the server in question, it doesn't necessarily start with nobody@. Maybe by finding out where an attachment or a message is "copied from" when using Save As, I'm not sure.rick7 wrote:Thank you! So I would just substitute the name of my mail account where your code has "Local%20Folders"?
Code: Select all
alert(gFolderDisplay.displayedFolder.URI);
TryCattleya wrote:- Backward in New Tab
Code: Select all
duplicateTabIn(gBrowser.selectedTab, "tab", -1);
TryCattleya wrote:- Forward in New Tab
Code: Select all
duplicateTabIn(gBrowser.selectedTab, "tab", 1);
Due to Bug 726275/Bug 629232 tryCattleya wrote:- Backward in New Window
Code: Select all
var tab = Components.classes["@mozilla.org/browser/sessionstore;1"]
.getService(Components.interfaces.nsISessionStore)
.duplicateTab(window, gBrowser.selectedTab, -1);
gBrowser.hideTab(tab);
gBrowser.replaceTabWithWindow(tab);
tab.linkedBrowser.reload();
TryCattleya wrote:- Forward in New Window
Code: Select all
var tab = Components.classes["@mozilla.org/browser/sessionstore;1"]
.getService(Components.interfaces.nsISessionStore)
.duplicateTab(window, gBrowser.selectedTab, 1);
gBrowser.hideTab(tab);
gBrowser.replaceTabWithWindow(tab);
tab.linkedBrowser.reload();
TryCattleya wrote:And is it possiable to Reload All Image on page with a hotkey ?
Code: Select all
var images = document.commandDispatcher.focusedWindow.document.images || content.document.images;
for(var image of images) {
if (image instanceof Components.interfaces.nsIImageLoadingContent && image.currentURI)
image.forceReload();
}
TryAceK wrote:I would love to be able to create a new window that automatically closes whenever it loses focus.
Code: Select all
OpenBrowserWindow().addEventListener("load", function tempFunction(event){
this.removeEventListener(event.type, tempFunction, true);
this.addEventListener("deactivate", function tempFunction(event){
this.removeEventListener(event.type, tempFunction, true);
this.close();
}, true);
}, true);
Trymueller wrote:Code: Select all
MsgMoveMessage(GetMsgFolderFromUri(‘imap://lorem%40ipsum.tld@imap.ipsum.tld/doloret’));
Code: Select all
MsgMoveMessage(GetMsgFolderFromUri('imap://lorem%40ipsum.tld@imap.ipsum.tld/doloret'));
Support mozilla.dorando.at through donations/contributions.
-
- Posts: 11
- Joined: July 11th, 2011, 3:10 am
Re: keyconfig 20110522
dorando wrote:Code: Select all
MsgMoveMessage(GetMsgFolderFromUri('imap://lorem%40ipsum.tld@imap.ipsum.tld/doloret'));
Thanks Works fine.
The cause of the syntax error was a buggy wordpress script, which replaces normal single quotes.
I told the author of the blog article of that.
- pohunohi
- Posts: 27
- Joined: October 1st, 2010, 4:54 am
Re: keyconfig 20110522
dorando
Is it possible for one tab? For a menu item MenuManipulator.
dorando wrote:Linkintones wrote:Is it possible to add a hotkey for unloading all tabs like Firefox does when resuming a saved session?
TryCode: Select all
var SessionStore = Components.classes["@mozilla.org/browser/sessionstore;1"].getService(Components.interfaces.nsISessionStore);
var state = SessionStore.getBrowserState();
SessionStore.setBrowserState('{"windows":[{"tabs":[{}]}]}');
SessionStore.setBrowserState(state);
Is it possible for one tab? For a menu item MenuManipulator.
-
- Posts: 117
- Joined: June 9th, 2005, 8:30 am
- Location: France
Re: keyconfig 20110522
Short-cuts conflict
Apparently they are shown by the keys combination on deep blue when you open keyconfig screen.
-I had for a long time a short-cut "maximise", combination ctrl+shift+m code window.maximize(); that maximised the size of the screen. After 14.01 of FF this did not work...
-I have now a 2nd short-cut "Vue adaptative" in French that seems equivalent to "adaptive view" ? , same combination, code ResponsiveUI.toggle(); This seems to be linked with 'Bug 749628 Implement a "Responsive Design" tool' that landed at 15.0 . I have selected this new occurrence and inactivated it, some time after, during the same session FF crashed ; After FF restart the combination was re-activated so I inactivated it again. After normal end of FF the combination seems to remain inactivated.
Is it possible to be made aware of this sort of conflict without opening keyconfig screen ?
Apparently they are shown by the keys combination on deep blue when you open keyconfig screen.
-I had for a long time a short-cut "maximise", combination ctrl+shift+m code window.maximize(); that maximised the size of the screen. After 14.01 of FF this did not work...
-I have now a 2nd short-cut "Vue adaptative" in French that seems equivalent to "adaptive view" ? , same combination, code ResponsiveUI.toggle(); This seems to be linked with 'Bug 749628 Implement a "Responsive Design" tool' that landed at 15.0 . I have selected this new occurrence and inactivated it, some time after, during the same session FF crashed ; After FF restart the combination was re-activated so I inactivated it again. After normal end of FF the combination seems to remain inactivated.
Is it possible to be made aware of this sort of conflict without opening keyconfig screen ?
-
- Posts: 1086
- Joined: November 8th, 2011, 12:06 pm
Re: keyconfig 20110522
how can i open url1, url2, url3, with a key in seperate background tabs?
thanks!
thanks!
-
- Posts: 2
- Joined: December 18th, 2012, 11:45 pm
Re: keyconfig 20110522
Wow, I cant believe how much this addon is able to do. So very impressed...
Dorando, if you could help me, I would greatly appreciate it.
So I am trying to figure out what the script is to enable and disable single window mode in Tab Mix Plus
I know in the Dom Inspector, it returns this,
id="singleWindow"
label="Enable Single Window Mode"
inverseDependency="true"
oncommand="TM_Options.singleWindow(this.checked);"
prefstring="extensions.tabmix.singleWindow"
checked="true"
but I cant figure out for the life of me how to use this info.
If anyone can help, id be forever thankful...
NarkTwo
Dorando, if you could help me, I would greatly appreciate it.
So I am trying to figure out what the script is to enable and disable single window mode in Tab Mix Plus
I know in the Dom Inspector, it returns this,
id="singleWindow"
label="Enable Single Window Mode"
inverseDependency="true"
oncommand="TM_Options.singleWindow(this.checked);"
prefstring="extensions.tabmix.singleWindow"
checked="true"
but I cant figure out for the life of me how to use this info.
If anyone can help, id be forever thankful...
NarkTwo
-
- Posts: 31
- Joined: September 24th, 2008, 2:20 am
Highlight all occurrences of a searched expression
What would the keyboard shortcut be for the highlight-button in the search bar (highlightaccesskey), so that any occurrence of the searched word on the page is highlighted by a single key stroke.
This question was already asked in the forum in 2004. But Dorandos solution to it don't seem to work with my version of Firefox (17.0.1).
Can anyone help?
Thanks in advance
This question was already asked in the forum in 2004. But Dorandos solution to it don't seem to work with my version of Firefox (17.0.1).
onemen wrote:How Can I define Key Shortcuts that activate an extension option.
like chose extansion manager ---> and click on the option button for the highlight extension. i nedd it for the edit menu extension.
Code: Select all
user_pref("keyconfig.main.xxx_key__Menu Editor", "!][][][openDialog('chrome://menuedit/content/menueditprefs.xul','', 'resizable');");
Can anyone help?
Thanks in advance
-
- Posts: 1086
- Joined: November 8th, 2011, 12:06 pm
Re: keyconfig 20110522
which is the code to "FOCUS ADDRESS BAR"?
thanks!
thanks!
-
- Posts: 2225
- Joined: November 9th, 2004, 6:45 pm
- Location: Jakarta, Indonesia (UTC+7)
- Contact:
Re: keyconfig 20110522
firefoxuse wrote:how can i open url1, url2, url3, with a key in seperate background tabs?
Code: Select all
gBrowser.loadTabs([url1, url2, url3], true);
NarkTwo wrote:So I am trying to figure out what the script is to enable and disable single window mode in Tab Mix Plus
Code: Select all
var prefname = "extensions.tabmix.singleWindow";
var singleWindowMode = Services.prefs.getBoolPref(prefname)
Services.prefs.setBoolPref(prefname, !singleWindowMode);
var as = Cc["@mozilla.org/alerts-service;1"].getService(Ci.nsIAlertsService);
as.showAlertNotification("chrome://tabmixplus/skin/tmp.png",
"Single Window Mode",
singleWindowMode ? "DISABLED" : "ENABLED",
false, "", null);
Patu wrote:What would the keyboard shortcut be for the highlight-button in the search bar (highlightaccesskey), so that any occurrence of the searched word on the page is highlighted by a single key stroke.
It's called "find bar", not "search bar".
Code: Select all
var highlight = document.getAnonymousElementByAttribute(gFindBar, "anonid", "highlight");
gFindBar.toggleHighlight(highlight.checked = !highlight.checked);
firefoxuse wrote:which is the code to "FOCUS ADDRESS BAR"?
Code: Select all
gURLBar.focus();