Talk:Keyconfig extension: Firefox

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

I'd propose a simpler layout for these lists:

in MediaWiki:Monobook.css:

div.predefs dl dd {
  /* import the styles for pre */
  font-family: monospace;
  border: 1px dashed #2f6fab;
  color: black; padding: 1em;
  background-color: #f9f9f9;
  line-height: 1.5em;
}

and then in the content:

<div class="predefs"> <!-- wrapper around the entire list -->


;Close current Tab
:var tab = gBrowser.mCurrentTab;
:gBrowser.removeTab(tab);

;Do something else
:var tab = gBrowser.mCurrentTab;
:gBrowser.removeTab(tab);

</div>

Gwicke 01:34, 14 Jun 2005 (PDT)


I agree. I don't plan to change the stylesheet, but I'll reformat the information along the lines that you suggest...unless someone can come up with a reason not to...
Rod Whiteley 11:20, 23 March 2007 (UTC)

how is this stuff used?

Some hint would be really helpful..

Paste and open in new tab

I think this special section of the wiki is just to geeky to use so here's my tip to add a shortcut to open anything on the clipboard on a new tab

Using Keyconfig I set a shortcut for Paste and open in new tab. This has proven very useful on some forums and sites that post URLs as plain text, I just copy then hit my shortcut and it 's open on a new tab

Here are the steps requiered:

1. clic tools/keyconfig/add a new key/ 
2. give it a name
3. make it global
4. then add this code:  var paste = readFromClipboard();if(!paste) return;gBrowser.selectedTab = gBrowser.addTab(paste)
5. ok
6. assign a key
7. apply
8 .restart firefox

enjoy ;)

Jmontano 21:44, 11 April 2007 (UTC)


You can also remove the "gBrowser.selectedTab = " part and then it just opens in a new background tab. Saves you pressing "F6+CTRL+V+ALT+ENTER". Maybe this tip should also be added to article (Keyconfig_extension:_Firefox)? could be called "Paste to New Tab without Go" or "Paste to New background Tab"

--Robertmarley 18:23, 7 July 2008 (UTC)