keyconfig 20110522
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
I was unable to find a demo site for the MojPortal CMS, but following might find the appropriate code if it is using <a href="http://kb.mozillazine.org/index.php?title=Midas&oldid=19523">Midas</a>:
Code: Select all
function whoframed(frames) {
for(var i = 0, l = frames.length; i < l; i++) {
if(frames[i].document.designMode == "on") return "frames["+i+"]";
if(frames[i].frames.length) {
var frame = whoframed(frames[i].frames);
if(frame != undefined) return "frames["+i+"]." + frame;
}
}
}
var frame = whoframed(content.frames);
if(frame) prompt("","content."+frame+'.document.execCommand("bold", false, null);');
else alert("Not Midas?");
-
- Posts: 38
- Joined: June 25th, 2007, 11:32 am
Well, I did a search here but didn't turn up anything that answered my question. Sorry if I overlooked something.
My question is this...Is it possible using keyconfig to disable Ctrl-1, Ctrl-2, Ctrl-3, etc., so they don't switch tabs? I want to use those key combinations for something else when filling out a form that I use quite often at a website.
My question is this...Is it possible using keyconfig to disable Ctrl-1, Ctrl-2, Ctrl-3, etc., so they don't switch tabs? I want to use those key combinations for something else when filling out a form that I use quite often at a website.
-
- Posts: 1203
- Joined: January 9th, 2004, 9:57 am
- Contact:
Nope, Ctrl+Number is handled by an eventListener and those can't be supported in a generic way, but you can create a custom extension by using a blank (.xpi is a .zip) one and pasting following above the </overlay> in overlays/main.xulStyler001 wrote:Is it possible using keyconfig to disable Ctrl-1, Ctrl-2, Ctrl-3, etc., so they don't switch tabs?
Code: Select all
<script><![CDATA[
window.addEventListener("load",function(){
window.setTimeout(function(){
window.removeEventListener("keypress", ctrlNumberTabSelection, false);
}, 0);
},false);
]]></script>
- onemen
- Posts: 1136
- Joined: October 15th, 2004, 7:48 am
dorando wrote:Nope, Ctrl+Number is handled by an eventListener and those can't be supported in a generic way, but you can create a custom extension by using a blank (.xpi is a .zip) one and pasting following above the </overlay> in overlays/main.xulStyler001 wrote:Is it possible using keyconfig to disable Ctrl-1, Ctrl-2, Ctrl-3, etc., so they don't switch tabs?.Code: Select all
<script><CDATA></script>
Actually in Firefox 3.0 ( FF3.0pre after Bug 429219 landed) you can use keyconfig to disable Ctrl-1, Ctrl-2, Ctrl-3, etc.
-
- Posts: 37
- Joined: September 1st, 2003, 8:36 am
Keyconfig and the new Thunderbird 3.0a1 ("Shredder"
Is there any way to make Keyconfig compatible with the new alpha version of Thunderbird, or is there any plan for an update? Thanks!
-
- Posts: 5
- Joined: April 28th, 2008, 11:48 pm
Woody!
For switching it's:
Ctrl+Tab or
Ctrl+Shift+Tab to flip backwards.
Other shortcuts:
http://www.jeetblog.com/incredible-fire ... shortcuts/
For switching it's:
Ctrl+Tab or
Ctrl+Shift+Tab to flip backwards.
Other shortcuts:
http://www.jeetblog.com/incredible-fire ... shortcuts/
- tonymec
- Posts: 734
- Joined: October 15th, 2004, 2:58 am
- Location: Ixelles (Brussels Capital Region, Belgium)
- Contact:
nXc wrote:Woody!
For switching it's:
Ctrl+Tab or
Ctrl+Shift+Tab to flip backwards.
Other shortcuts:
http://www.jeetblog.com/incredible-fire ... shortcuts/
And if Ctrl+Tab and Ctrl+Shift+Tab don't reach Firefox (as on my system, where the KDE window manager intercepts them), you can also use Ctrl+PgDown for next tab, or Ctrl+PgUp for previous tab.
Best regards,
Tony
Tony
-
- Posts: 10
- Joined: May 20th, 2008, 11:54 am
nXc wrote:Woody!
For switching it's:
Ctrl+Tab or
Ctrl+Shift+Tab to flip backwards.
Thanks!
I knew those. But I didn't really like them. I wanted to change them to something easier to reach without moving my fingers from the keyboard.
Anyway I am not able to install keyconfig at the moment, as it doesn't support the last release of firefox 3. Does it?
-
- Posts: 10
- Joined: May 20th, 2008, 11:54 am
- tonymec
- Posts: 734
- Joined: October 15th, 2004, 2:58 am
- Location: Ixelles (Brussels Capital Region, Belgium)
- Contact:
mrwoody wrote:Anyway I am not able to install keyconfig at the moment, as it doesn't support the last release of firefox 3. Does it?
I tried keyconfig with yesterday's bloody-dripping-latest (and, at the time, only) nightly of Fx 3.1a1pre and it worked; however it needed extensions.checkCompatibility set to false in about:config to prevent the browser from auto-disabling it.
Note that the Fx 3.0 code has been forked off from Fx 3.1 pre-alpha which is now the trunk: http://ftp.mozilla.org/pub/mozilla.org/ ... est-trunk/ is 3.1a1pre while 3.0 is http://ftp.mozilla.org/pub/mozilla.org/ ... illa1.9.0/
Best regards,
Tony
Tony
- leafdude
- Posts: 40
- Joined: January 27th, 2005, 2:35 pm
To get a keyconfig version working with FF3 RC1
Keyconfig for Firefox 3
I've been happily using Firefox 3 for the past couple months. On the Mac in particular, it's been a night and day difference performance-wise. One of the more unfortunate aspects right now is that there aren't a lot of extensions that work with FF3 at the moment. One of those that I missed a lot was the keyconfig extension.
It hasn't been updated for a while (and the download site is a bit on the sparse side, but it looks like the author, dorando is still active and there are directions for modifying the XPI to be compatible w/ FF3.
Since I went through the trouble of modifying the bits, I thought I'd throw it up there for those less inclined to muck around in the files. This will give an unsigned warning, but should install: keyconfig-ff3.xpi.
Modifications:
* install.rdf modified with <maxVersion>3.0.*</maxVersion>
* install.rdf modified to comment out <updateURL> so it can be installed w/o modifying security preferences
* this.os.addObserver(this,"stupid-dummy",false); added to function keyconfigService()
* document.createElement("key") changed to gDocument.createElement("key") in the keyconfig.jar!contents/keyconfig.js file
OR you can go to this link (below) and download his unsigned version .xpi
I take no credit for this - This goes to Leonard Lin - Thanks man!
http://randomfoo.net/blog/id/4128
I've been happily using Firefox 3 for the past couple months. On the Mac in particular, it's been a night and day difference performance-wise. One of the more unfortunate aspects right now is that there aren't a lot of extensions that work with FF3 at the moment. One of those that I missed a lot was the keyconfig extension.
It hasn't been updated for a while (and the download site is a bit on the sparse side, but it looks like the author, dorando is still active and there are directions for modifying the XPI to be compatible w/ FF3.
Since I went through the trouble of modifying the bits, I thought I'd throw it up there for those less inclined to muck around in the files. This will give an unsigned warning, but should install: keyconfig-ff3.xpi.
Modifications:
* install.rdf modified with <maxVersion>3.0.*</maxVersion>
* install.rdf modified to comment out <updateURL> so it can be installed w/o modifying security preferences
* this.os.addObserver(this,"stupid-dummy",false); added to function keyconfigService()
* document.createElement("key") changed to gDocument.createElement("key") in the keyconfig.jar!contents/keyconfig.js file
OR you can go to this link (below) and download his unsigned version .xpi
I take no credit for this - This goes to Leonard Lin - Thanks man!
http://randomfoo.net/blog/id/4128