keyconfig 20110522
-
- Posts: 54
- Joined: March 6th, 2010, 9:52 pm
Re: keyconfig 20080929
How can I add a hotkey for The Printliminator? I tried to add that code directly but it doesnt work. Any help is appreciated.
-
- Posts: 63
- Joined: February 29th, 2004, 10:28 am
- Location: Chicago, Illinois
- Contact:
Re: keyconfig 20080929
hllwn wrote:How can I add a hotkey for The Printliminator? I tried to add that code directly but it doesnt work. Any help is appreciated.
Assign a keyword to it, then:
Code: Select all
if(window.loadURI) loadURI(getShortcutOrURI('keywordyouassigned',{}));
-
- Posts: 2
- Joined: May 25th, 2010, 1:19 am
Re: keyconfig 20080929
When I tried again, it just worked. Now it seems to work smoothly. Thanks.
(For some reason, Mozilla apps seem a bit shakier on Solaris than on other platforms; they often crash due to wild pointers (the infamous "segmentation fault"). So I guess the problem may be with the browser rather than the add-on.)
(For some reason, Mozilla apps seem a bit shakier on Solaris than on other platforms; they often crash due to wild pointers (the infamous "segmentation fault"). So I guess the problem may be with the browser rather than the add-on.)
-
- Posts: 733
- Joined: October 2nd, 2009, 2:20 pm
Re: keyconfig 20080929
Can someone tell me what code I need to add a hotkey for the Stylish new "Blank Style"
-
- Posts: 1
- Joined: June 13th, 2010, 1:13 am
Re: keyconfig 20080929
vsub wrote:Can someone tell me what code I need to add a hotkey for the Stylish new "Blank Style"
Code: Select all
stylishOverlay.addCode()
-
- Posts: 733
- Joined: October 2nd, 2009, 2:20 pm
Re: keyconfig 20080929
matyr wrote:vsub wrote:Can someone tell me what code I need to add a hotkey for the Stylish new "Blank Style"Code: Select all
stylishOverlay.addCode()
Ok it works,thanks but does this addon work with the F keys(1-12)because I first tried with F10 and 12 but nothings happening.
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Re: keyconfig 20080929
Most function keys should be supported by the Application (which does handle the shortcuts), but F10 cannot be used since either Windows handles it or the event flow is stopped before it reaches the key handler. F12 should work without problem.
-
- Posts: 3
- Joined: May 17th, 2010, 2:40 pm
Re: keyconfig 20080929
any versions out there that work with 3.6.4 ?
-
- Posts: 733
- Joined: October 2nd, 2009, 2:20 pm
Re: keyconfig 20080929
dorando wrote:F12 should work without problem.
Should but it's not.I have only one add-on that uses F12(I set it to F12)but I change the key before trying with Keyconfig and it's still not working
Anyway,I made something better(change the code of Stylish to open the blank style rather than opening the manager by middle click on the stylish icon).
adamprocter wrote:any versions out there that work with 3.6.4 ?
It works fine on 3.6.4b6,you just have to disable the compatibility check or edit the install.rdf and then install it
-
- Posts: 54
- Joined: March 6th, 2010, 9:52 pm
Re: keyconfig 20080929
I'm trying to execute http://supergenpass.com/ bookmarklet with keyconfig.
I'm adding it into keyconfig but script is long and it's trimmed or gets deleted after restart. Is there a character limit in keyconfig?
it works when you call it with keyword but I dont want to store in bookmarks.
Do I have another options like executing it with keyconfig from a local .js file?
Code: Select all
content.location = "javascript:...";
I'm adding it into keyconfig but script is long and it's trimmed or gets deleted after restart. Is there a character limit in keyconfig?
Code: Select all
loadURI(getShortcutOrURI('keyword',{}));
it works when you call it with keyword but I dont want to store in bookmarks.
Do I have another options like executing it with keyconfig from a local .js file?
-
- Posts: 54
- Joined: March 6th, 2010, 9:52 pm
Re: keyconfig 20080929
dorando wrote:TryChrisCairns wrote:Basically, I want to shorten the 'current' url with one keyboard shortcut.Code: Select all
var throbber = document.getElementById("navigator-throbber")
if(throbber) throbber.label = " Retrieving URL";
var ClipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"]
.getService(Components.interfaces.nsIClipboardHelper);
var request = new XMLHttpRequest();
request.open("GET", "http://tinyurl.com/api-create.php?url="+encodeURIComponent(content.location), false);
//request.open("GET", "http://api.tr.im/api/trim_simple?url="+encodeURIComponent(content.location), false);
request.send(null);
if(throbber) throbber.label = "";
ClipboardHelper.copyString(request.responseText);
How can I add a notification that appears in right bottom (notification box when a download is finished) when link is successfully copied into clipboard?
-
- Posts: 1
- Joined: June 18th, 2010, 6:54 am
Re: keyconfig 20080929
Ooops 3.0.5 broke it again I love this extension, any hope for a fix?
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Re: keyconfig 20080929
It does work for me, maybe something (another extension) is interfering somehow. What does happen if you press F12? Is anything in the Tools > Error Console (set javascript.options.showInConsole to true in about:config)?vsub wrote:Should but it's not.I have only one add-on that uses F12(I set it to F12)but I change the key before trying with Keyconfig and it's still not working.dorando wrote:F12 should work without problem.
Replacing anyhllwn wrote:I'm trying to execute http://supergenpass.com/ bookmarklet with keyconfig.Code: Select all
content.location = "javascript:...";
I'm adding it into keyconfig but script is long and it's trimmed or gets deleted after restart. Is there a character limit in keyconfig?
Code: Select all
][
Code: Select all
] [
Code: Select all
\
Code: Select all
\\
It is possible with mozIJSSubScriptLoader, buthllwn wrote:Do I have another options like executing it with keyconfig from a local .js file?
Code: Select all
var request = new XMLHttpRequest();
request.open("GET", "file:///C:/a.txt", false);
request.overrideMimeType("text/plain");
request.send(null);
content.location = request.responseText;
Tryhllwn wrote:How can I add a notification that appears in right bottom (notification box when a download is finished) when link is successfully copied into clipboard?dorando wrote:TryChrisCairns wrote:Basically, I want to shorten the 'current' url with one keyboard shortcut.Code: Select all
var throbber = document.getElementById("navigator-throbber")
if(throbber) throbber.label = " Retrieving URL";
var ClipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"]
.getService(Components.interfaces.nsIClipboardHelper);
var request = new XMLHttpRequest();
request.open("GET", "http://tinyurl.com/api-create.php?url="+encodeURIComponent(content.location), false);
//request.open("GET", "http://api.tr.im/api/trim_simple?url="+encodeURIComponent(content.location), false);
request.send(null);
if(throbber) throbber.label = "";
ClipboardHelper.copyString(request.responseText);
Code: Select all
var ClipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"]
.getService(Components.interfaces.nsIClipboardHelper);
var request = new XMLHttpRequest();
request.open("GET", "http://tinyurl.com/api-create.php?url="+encodeURIComponent(content.location), true);
//request.open("GET", "http://api.tr.im/api/trim_simple?url="+encodeURIComponent(content.location), true);
request.onreadystatechange = function (event) {
if (request.readyState == 4) {
ClipboardHelper.copyString(request.responseText);
var alertsService = Components.classes["@mozilla.org/alerts-service;1"]
.getService(Components.interfaces.nsIAlertsService);
alertsService.showAlertNotification(null, "keyconfig", request.status == 200 ? "URL copied to clipboard" : "Some error occurred");
}
}
request.send(null);
Compatibility information has been updated, it might be necessary to click on Tools > Add-ons > Find Updates (which might incorrectly state at the top that "No updates were found" while "A compatibility update has been applied" as stated below the extension name) if the extensions didn't got re-enabled already.cdellafera wrote:Ooops 3.0.5 broke it again I love this extension, any hope for a fix?
Note that it is possible to disable the compatibility enforcing by adding a boolean 'extensions.checkCompatibility' through about:config.
-
- Posts: 733
- Joined: October 2nd, 2009, 2:20 pm
Re: keyconfig 20080929
dorando wrote:It does work for me, maybe something (another extension) is interfering somehow.
It is possible because I have more than 40 add-ons but I'm 100% sure that no other add-on is using the F12 except Tab Catalog(I disable the shortcut before trying and restarted FF couple of times when I was trying to set F12 to show the blank style)
dorando wrote:What does happen if you press F12?
If I disable the short cut from Tab Catalog,then absolutely nothings happens(that's why I'm setting F12 for Tab Catalog,because that key is not used)
dorando wrote:Is anything in the Tools > Error Console (set javascript.options.showInConsole to true in about:config)?
Nothing appear in the error console when I press F12 and javascript.options.showInConsole is already set to true.
PS.Now I tried it again and I don't know why but now it's working.
-
- Posts: 63
- Joined: July 3rd, 2004, 10:46 pm
Re: keyconfig 20080929
A Shortcuts to focus the previous selected tab is Ctrl+Tab.
Another Shortcuts to focus the next selected tab is Ctrl+shift+Tab.
I want to make them to one Shortcuts,
then I can view between two tabs like TV channel return.
Might anyone make it come ture??
Another Shortcuts to focus the next selected tab is Ctrl+shift+Tab.
I want to make them to one Shortcuts,
then I can view between two tabs like TV channel return.
Might anyone make it come ture??