Google site search for   http://www.mvps.org/dmcritchie/firefox/ 

Firefox Keyword Shortcuts


Some suggestions for creating and maintaining keyword shortcuts for use in Firefox.

Keyword shortcuts are one of the very powerful tools in Firefox and are the easiest to create and maintain.  Would suggest putting your keyword shortcuts in their own folder so that they will all be together rather than scattered throughout the bookmarks file.  The foldername I use is identified by a single leter, K, so it doesn't take much space on the Personal Toolbar Folder.


Location: http://www.mvps.org/dmcritchie/firefox/kws.htm      
Home page: http://www.mvps.org/dmcritchie/firefox/firefox.htm
[View without Frames]

Bookmark Shortcuts, Keyword Shortcuts Creation and Keyboard Shortcuts   (#keywords)


Add Bookmark, Ctrl+D, extended by OpenBook with Options.
Description filled in from META data.
Keyword filled in manually [heavily annotated picture]
Dropdown on left latest bookmark folders added to
Dropdown on right ability to select any bookmark folder.
Dialog box widened due to userChrome.css change.
Also see Bookmarks Extensions (on bookmarks page),
and Bookmark properties (also on bookmarks page).
Create shortcuts for your favorite search engines, and other sites. 

You can include a keyword when you create a bookmark as in the dialog at the right.

You can create a keyword shortcut from a simple site Search form (or any single line form) by right clicking within the form and choosing "Add a Keyword for this Search" which will bring up a form similar as at the right.  If you don't have the "OpenBook" extension you will only see name, Keyword, and Create in.  [picture]  The actual location code (url) generated will include fields that you would not normally be aware of within the search form.

I have mine set up for a web search, get to the profile and the chrome directories, search a few selected sites, dictionary, wiki, stock quotes -- things that can use the substitutions for the %s (with substitution) or %S (without substitution), usually placed at the end.  Using the small %s will result in additional substitutions of # replaced by %23, % by %25, and / by %2F.  No additional substitution will occur with capital %S (see Bug: 270703)

Difference between (small s) %s and (Capital S) %S

  1. (small s): %s will have additional substitution replacements: # by %23, % by %25, and / by %2F, @ by %40.
  2. (Capital S): %S will not have substitutions and allow use of C++ in a Google search, allow use of @ in an email substitution, allow use of a fragment-id in a url substitution index.html#example2, and use of a directory as in code/example2.txt.

Where do keyword shortcuts exist: They are regular bookmarks that have been given a keyword name (see picture at right).

How are keyword shortcuts created: The easiest way is to Create a Bookmark (Ctrl+D), or drag the favicon symbol to the left of the location bar to your bookmarks menu or better perhaps to a folder on your personal bookmarks toolbar.  The personal toobar is a “folder” within your <profile>bookmark.html in your profile folder See Bookmark Properties picture 

Assigning a keyword shortcut to a bookmark: Bring up the Bookmark Manager (Ctrl+B), Right click on the bookmarklet to bring up properties and assign a shortcut to it.  Suggest including a colon as shown on mine to reduce errors.   See Bookmark Properties picture 

Colon within or at end of a keyword is a very good solution that distinguishes from location bar searching and from use of tags.  Tags is a newly added Fx3 feature. \ Opera users may have aproblem as colon is not allowed in a nickname.  The beauty of Firefox keywords is that there are no restrictions on use of any character and is based on how used.

Besides the shortcut is anything else special:  Use of  %s  (percent-sign lowercase s) will be substituted when invoked by whatever you specify whether it be a filename, words for a search, whatever you include will be included in the invoked url.

Difference between %s and captialized %S for substitutions.
Originally %s (lowercase) was the only substitution available in keyword shortcuts, but since substitutions occurred it made inclusions of commercial pound sign (#) as used in fragment=id, slash (/) as used in including a directory, and at sign (@) as used in email impractical as they were substituted respectively by %23 for #, %47 for /, and %40 for @.  [references:  bug 270703, bug 272359]

The %s (lowercase s) was what was intended by developers, but I'm hard pressed to find anything where that (lowercas s) should even ever be used.
The %S (uppercase S) without additional substitutions appears to be what I need most, if not, all of the time.

Usage:  I would be hard pressed to find anything where that (lowercase s) should even ever be used as much of my usage may involve substitutions like
    ffp: . (directory or default index)
    ffp: kws.htm
    ffp: firefox.htm
    ffp: firefox.htm#ext (use of fragment id)
    ffp: code/ (to show the code directory)
    g: link:www.mvps.org/dmcritchie/firefox/kws.htm
    gg: www.mvps.org/dmcritchie/firefox/kws.htm

Null Argument  If we assign google: to http://www.google.com/%s (lowercase s), some examples
google: followed by no spaces generates http://www.google.com/%s
google: followed by one space generates http://www.google.com/%s same as before since there is still no operand
google: followed by two spaces generates http://www.google.com/   since the operand is considered empty
google: followed by a period generates http://www.google.com/   which is the directory appears same a null
google: followed by "maps" generates http://www.google.com/maps
    images, video, news, maps, gmail, etc.; some will be like http://images.google.com

Quick Demonstration   (#quickdemo)
Using the keyword shortcut "w:") bookmarked to http://en.wikipedia.org/wiki/%s  for a quick demonstation of how keyword shortcuts work:  (It takes two spaces to enter with a null argument)

Character Arguments  (#chr):  It is possible to search on "C++" which Google would normally just treat as the letter "C".  Here is a shortcut (source: Hao2lian), I created this with a shortcut of ("g:chr").

javascript:document.location = "http://www.google.com/search?q=" + encodeURIComponent('%s');
Example:
  g:chr pl/i c++ "John W Kennedy"

Folder for shortcuts:  Suggest putting your keyword shortcuts in their own folder.  Anything after the keyword in the location bar will replace  %s  in the shortcut bookmark.  My folder is named K within my Bookmarks Toolbar.  The folder doesn't have to be readily accessible for use but you want to have fairly quick access to add items to it, and to help you “remember” the shortcuts you created.  I choose to put a colon at the end of the word.  The following may be customized for my own use but give you an idea of what you can use.

Example:  Enter http://dictionary.reference.com/search?q=%s  on the location bar, bookmark the resulting url by dragging the favicon picture on the left of the url within the location bar to within your toolbars or preferably to within the K folder on your personal bookmarks bar (if you created one), right click on properties to give it a keyword of "dict:" (with the colon) and a title of "dict: Dictionary Search". Then you can type "dict: spelling" on the location bar and get a definition for "spelling".
 
User keyword shortcuts:
chrome:     userChrome, userContent, launchy 
    [-- file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/default.NOP/chrome --]
    use about:cache to help you set up this shortcut keyword (keyword use has a space after colon)
config:     about:config  [-- about:config --] documentation can be found at About:config entries - MozillaZine Knowledge Base
g:          Google  [-- http://www.google.com/search?q=%s --]
gg:         Google Groups Advanced Search (*excel*)
            [-- http://groups.google.com/groups?as_ugroup=*excel*&num=100&as_q=%s --]
ggff:         Google Groups Advanced Search (*firefox*)
            [-- http://groups.google.com/groups?as_ugroup=mozilla.support.firefox&num=100&as_q=%s --]
gga:        Google Groups Advanced Search Panel (*excel*)
            [-- http://groups.google.com/advanced_group_search?q=group:*Excel*&num=100 --]
l:          Librarians' Index to the Internet  [-- http://lii.org/search?query=%s --]
profile:    profile directory (like chrome: must be customized to user's own profile)
                [file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/default.NOP/]
w:          Wikipedia  [-- http://en.wikipedia.org/wiki/%s --]        
xl:         Excel on local HD  [-- file:///c:/localsite/dmcritchie/excel/%s --]
z:          search dmoz.org Open Directory of webpages  [-- http://www.google.com/search?q=site%3Admoz.org+%s --]

There are some special considerations for Google Advanced Search regarding the keyword shortcuts of gg: and gga: seen above that are covered on an additional page (google.htm) in more detail, and also Remediation for disatrous Google Beta Groups.

about: « builtin keywords for about:about:config, about:cache, about:buildconfig, about:plugins, about:credits, about:blank   More informaton on about:config preference entries documentation in the MozillaZine Knowledge Base.  This documentation has progressively degenerated since some decision was made to move things into categories, for instance accessibility is no longer in the document (moved 2006-01-03 06:10:10.

bookmarklets which have been also implemented as keyword shortcuts — highlight:(highlight links), href:, id:, int:(int/ext links), titles:(paren tips), reset:(PF5)

bugzilla 272359, 270703 use of a fragment id with %s replacement; (messes up with /, #, @ characters)
Appears to be fixed in Firefox 1.5 -- xlp: join.htm#trimall works as does
archive: http://www.mvps.org/dmcritchie/excel/join.htm#trimall

Directory in a shortcut:  if you have a shortcut such as xx: pointing to http://example.com/directory1/directory2/%s -- you can invoke it as xx: . with the period to bring up the directory instead of a specific file, xx: .. to go back one additional directory, probably more useful on your local site than on most websites.

problem: since slashes cannot customize a search for — g: site:mozilla.org inurl:support inurl:firefox %s

JavaScript
javascript:open("http://mail.google.com/","menubar=yes,toolbar=no,location=yes,directories=yes,status=yes,resizable=yes,scrollbars=yes");

Chrome URLs, Jesse Ruderman, to bring up portions of the options menu — i.e. chrome://browser/content/pref/pref.xul

See Keyboard shortcuts in HELP.  Useful shortcuts include completing a domain name node to enter it as .com use Ctrl+Enter, to enter as .net use Shift+Enter,  to enter as .org use Ctrl+Shift+Enter — you do not want to waste effort creating keyword shortcuts for such sites that you know so well.  Such sites addressed by a single word do not need keyword shortcuts. 

Also see Sorting Bookmarks in Firefox, and an Extension above to sort permanently in your bookmarks.html


Folder K (keywords) on Firefox Personal Toolbar   (#k)


Bookmarks (Bar)       "Personal Toolbar Folder" within your bookmarks.html
*
K is a folder I created within my "Personal Toolbar Folder"
K
Reset (F5)  bookmarklets   paren tips   HREF visible  
To expand all of the links:  use the HREF visible button above
 
<!-- noindex --> *** bookmarks are not to be indexed by robots [unfortunately this method of suppression is no longer recognized]

Keyword Shortcuts

Many of the shortcuts below do include shortcuturl="...:" but they don't seem to get carried to the link if you drag a link to your K (for keyword shortcuts) folder, so you will have to add the shortcut yourself, See manage bookmarks.
:   (quick access to firefox.htm page add #frag-id)
:: - Mozillazine Knowledge Base search
[-- http://www.google.com/search?num=100&hl=en&newwindow=1&q=site%3Akb.mozillazine.org+-intitle%3Atalk+%S&btnG=Search --]
::: SUMO wrestling with Mozilla
[-- http://www.google.com/search?q=site%3Amozilla.com+%S --]
%temp%
aardvark: Aardvark Firefox Extension
ans: Answers.com keyword search
babelfish: AltaVista - Babel Fish Translation
bmk: search bookmarklet OR favelet
bug: Retrieve Bugzilla Bug Report Number
chrome: userChrome, userContent, launchy (user must customize based on about:cache)
config: about:config
dict: dictionary search at reference.com
downloads: My downloads in documents and settings
ext: search extensions -- addons extensionroom
ff: Firefox web pages on local HD
use a period to access the directory or firefox.htm for that page.
file:///c:/website/dmcritchie/firefox/%s
ffp: Firefox web pages on website
use a period to access firefox.htm for my Firefox site (the directory is not available).
http://www.mvps.org/dmcritchie/firefox/%s
ff_temp: Firefox Temporary directory
fm: is for freshmeat
free: Search for free stuff with a Google Search
-buy -for-sale -free-to-try -free-trial -trial -price -purchase -€* -$* %S
g: Google quick search)
gc: Google Cache of current page (see imillylcom/bm.htm)
gg: Google Advanced Groups Search (*excel*)
gga: Google Groups Advanced search Panel
ggff: Google Groups Advanced Search (*firefox*)
search the Firefox newsgrop mozilla.support.firefox, return 100 items at a time, even if not in your Google Groups preferences.
[-- http://groups.google.com/groups?as_ugroup=mozilla.support.firefox&num=100&as_q=%s --]
GGUK: advanced UK Excel groups search
gguk: GoogleGroups Advanced Search
geoLoc:  – geoLoc: obtain lat/long coordinates from Google Map
Center map first by double-clicking on desired map point
[-- javascript:void(prompt('',gApplication.getMap().getCenter())); --]
gm:  – Greasemonkey – gm_scripts/config.xml in your     profile directory (like chrome: must be customized to user's own profile)
GIFL: Google, I'm Feeling Lucky
gov: FirstGov.gov: The U.S. Government's Official Web Portal
gu: Geocities update (file manager)
gsite: Google Search with page's domain ‡‡‡
[--  http://www.google.com/search?num=100&q=site:' + escape(location.hostname) + ' %S' ; void 0 --]
help: firefox support
highlight: highlight links (bookmarklet)
href: HREF visible (bookmarklet)
html40: HTML 4.0 Elements
id: Show Classes and IDs (bookmarklet)
ie: Internet Explorer and OE
infospace: search for word
int: int/ext links (bookmarklet)
kb: Microsoft Knowledge Base (MSKB) article
[-- http://support.microsoft.com/kb/%s --]
kb_: Mozilla KB title search   ("kb_:")
[-- http://www.google.com/search?num=100&hl=en&newwindow=1&q=site%3Akb.mozillazine.org+-intitle%3Atalk+%S&btnG=Search --]
Kzz: placeholder
l: - Librarians' Index to the Internet (search)
lg: Lockergnome - search Google
lg: Lockergnome's IT Professionals - January 2005 Archives
linkchecker: Validator w3.org (chk current page)
link: Search links to this page using AltaVista
-- javascript:void(location.href='http://www.altavista.com/web/results?itag=ody&q=link%3A'+location.href+'&kgs=1&kls=0') --
linked: Search links to this page using Google
-- javascript:function search_for_links_with_google (){window.open ('http://www.google.com/search?as_lq='+document.location, '','scrollbars,location,toolbar,status,menubar,resizable');}search_for_links_with_google(); --
lists: List of Lists
listzilla: ExtensionsList.html in download_win2000
moz: Search MozillaZine Forums — These are the newsgroups at forums MozillaZine
msgid: message-id into Google Groups (UK)
mvp: search selected MVP excel web sites
oe: Outlook Express
pro: Dictionary - Yahooligans! Reference 9pronunciation)-
profile: profile directory (user must customize based on about:cache)
red: Make visited links an obvious color
quote: stock prices at fomamce.yahoo
Qzz: placeholder
reset: Reset (F5, bookmarklet)
stock: Business Week (symbol)
-- http://host.businessweek.com/businessweek/Corporate_Snapshot.html?Symbol=%s --
t: thesaurus.reference.com
temp: get a file within file:///c:/temp
timer: Timer Wizard
titles: paren tips (bookmarklet)
TV: Listings, Yahoo (User must customize)
tv_can: Television - Entertainment - canada.com network (User must customize)
uptime: Show uptime for site server
validate: HTML at w3.org (this page0
w: is for wikipedia
wayback: current page
javascript:void(location.href='http://web.archive.org/web/*dc_/'+location.href)
weather: 7-Day Forecast (user must customize based on geographical location)
xl: Excel local files
xlcp: Chip Pearson's Excel Topic Index
xldd: Contextures -- Excel Tips and Techniques
xldm:s search of David McRitchie's site
[-- http://www.google.com/search?q=%28site%3Awww.mvps.org+inurl%3Admcritchie+%s --]
xljw:s j-walk mostly Excel
xlweb: Google Search of Excel w/o newsgroup repeaters
z: Google Search: site:dmoz.org
 (additional examples can be found in K -- Personal Toolbar Folder (example)
and in an updated listing k.html without shortcuturl.
<!-- end noindex --> *** bookmarks above are not to be indexed by robots

The shortcuts Kzz: and Qzz: are not really intended for use as bookmarks or as keyword shortcuts, but are to prevent a single shortcut beginning with the letter K or Q from being invoked immediately.  By typing in "Q" (one letter past "P") in the K folder, I can see a list of the shortcuts (bookmarks) that begin with "P" to refresh my memory as what KWS are available. (#placeholder)

Besides those actually marked as “(User must customize)”, in the above examples, you will certainly need to customize, add, or delete shortcuts to fit your own usage.

Keyword shortcuts and bookmarklets involving tabs   (#tabs)

keyworddescription (suggest including keyword at beginning of description)
NT:-- Open in New Tab (NT:), Links to
javascript:(function(){var%20a=document.getElementsByTagName('a');for(var%20i=0,j=a.length;i<j;i++){a[i].setAttribute('target','_blank');var%20img=document.createElement('img');img.setAttribute('class',%20'new-window');img.setAttribute('src','data:image/gif;base64,'+'R0lGODlhEAAMALMLAL66tBISEjExMdTQyBoaGjs7OyUlJWZmZgAAAMzMzP///////wAAAAAAAAAAAAAA'+'ACH5BAEAAAsALAAAAAAQAAwAAAQ/cMlZqr2Tps13yVJBjOT4gYairqohCTDMsu4iHHgwr7UA/LqdopZS'+'DBBIpGG5lBQH0GgtU9xNJ9XZ1cnsNicRADs=');img.setAttribute('style','width:16px!important;height:12px!important;border:none!important;');a[i].appendChild(img);}})();
ST:-- Open in Same Tab (ST:), Links to
javascript:(function(){var%20a=document.getElementsByTagName('a');for(var%20i=0,j=a.length;i<j;i++){a[i].removeAttribute('target');var%20img=a[i].getElementsByTagName('img');for(var%20k=0,l=img.length;k<l;k++){if%20(img[k].getAttribute('class')=='new-window'){img[k].parentNode.removeChild(img[k]);}}}})();
The "NT" and "ST" bookmarklets are from Fixing a small iPhone annoyance… | Doctyper, New Tab Bookmarklet by Richard Herrera, which were not named, so I gave them short names including, of course, the ending colon.
The following expansion will not work once you invoke "NT:" bookmarklet: more info

Manage Bookmarks   (#managebookmarks)

You can view the keywords in your Bookmarks Manager listing by adding the missing columns to your Bookmarks Manager listing (View, Add columns).  Bookmarks and the Bookmarks Manager are described in more detail below on my bookmarks page, see Manage Bookmarks, where you will see that the Extended Bookmarks Manager is much better than the builtin Bookmarks Manager shown below.

Manage Bookmarks (display)

List of Keyword Shortcuts   (#list)

If you so desired you could make up a shortcut for every single Firefox bookmark, so it is pointless to compare the size of shortcut lists, because they are strictly an optional property of a bookmark.  As indicated in the previous topic, I keep my short cuts in their own folder on the Personal Toolbar, so that I can find them quickly, but there is another way to keep track of your shortcuts. 

Use the Bookmarks Manager to view your bookmarks and keywords, start from the Bookmarks (menu), manage bookmarks..., then in the Bookmarks Manager, view (menu), show columns you want - Name, Location, Keyword, Description.  Keywords are not shown by default.  Sorting on keywords will sort them within their respective folders.  Right clicking on column headers is another way to indicate which columns are to display.  If you have room you can incluede Added, Last Modified, Last Visited.

KeywordName
gm:gm: GreaseMonkey config xml
gmail:gmail: Gmail - Inbox
gmore:gmore: More Google Products
gov:gov: FirstGov.gov The US Govern...

Use the KeywordBar extension by Cory Schmidt, for a nice list in the sidebar of the keywords [Ctrl+Shift+K] with all bookmarks that contain a defined keyword shortcut [picture|.  Double-clicking on a keyword will insert it into the URLBar ready for you to add an operand and/or hit enter. .  Context menu includes properties, and Bookmark Manager (or EBS) [EBS filter on keyword not equal to "a" is somewhat of an alternative]

Types of Shortcuts shown above   (#types)

The shortcuts are entered on the location bar, some with additonal operands.  Since I store all my keyword shortcuts in one folder I can easily find them, and can implement them from the K folder on my personal toolbar folder of bookmarks file.

Call another URL using the current url as an argument «   (#url)

Not documented in Firefox, but you can create a bookmarklet as in the following example:

If you were to place the following onto the Location Bar (address bar) it would invoke a website that would check the current page and report on download sizes and download time.  (Copy the following line and paste to the location bar to test concept)

javascript:location = 'http://www.websiteoptimization.com/services/analyze/wso.php?url='+escape(location); void 0

So while it might have been nice to have a %u to include the current urlname, it is not really needed as we can use JavaScript to do that for us in a Key Word Shortcut (kws).

Create a bookmarklet to invoke another web page with the current page as an argument

This is nothing new to people who write Firefox Extensions, and Bookmarklets, but I had to discover for myself the connection to something you can easily do yourself by creating a bookmarklet and kws combination which is stored in your bookmarks file and is basically what you have available in Web Developer, but you have more control and can set up your own directory/bookmark trees with kws involved.  You won't find this on Firefox's keywords page (at least not when I created this topic).

To install as a bookmarklet with a keyword simply create a bookmarklet or bookmark in a folder, and
enter the fields into bookmark properties as follows:   See Bookmark Properties picture 
name:  size: Web Page Speed Report - WebSiteOptimization.com
location:  javascript:location = 'http://www.websiteoptimization.com/services/analyze/wso.php?url='+escape(location); void 0
keyword:  size:

As I said I keep all of these in my K folder, but you could set up a hierarchy like the Web Developer Extension so you can find your shortcuts easier.

The Web Developer Extension (Chris Pederick) has two forms to show document size:
-- Web Developer, Tools, View Speed Report (as above but doesn't work)
-- Web Developer, Information, View Document Size (short summary size list)
If you look at Options, Options, tools in Web Developer you will see the assignments used.

Some additional keyword shortcuts using JavaScript   (#javascript)

NAME/KEYWORD: source: view-source:
LOCATION: javascript:location = 'view-source:'+location

Create a bookmarklet for a version comparisons page at archive.org   (#archiveorg)

Suppose you don't like the way web archive.org is invoked for a web page and you want the page that gives you ability to compare page -- simply create another bookmarklet with a keyword shortcut. Right click within the personal bookmarks folder and use New bookmark then fill in the properties --
name:  archive: Internet Archive Wayback Machine
location:  javascript:location = 'http://web.archive.org/web/*dc_/'+escape(location); void 0
keyword:  archive:
description:  wayback machine at archive.org

gsite: Google Search Current Site %s   (#gsite)

Suppose you want to use Google to search within the domain of the current page for the search words you want to use.

Right click within the personal bookmarks folder and use New bookmark then fill in the properties --
name:  gsite: Google Search within page's domain
location:  javascript:location='http://www.google.com/search?num=100&q=site:' + escape(location.hostname) + ' %S' ; void 0
keyword:  gsite:
description:  based on http:;//www.squarefree.com/bookmarklets/search.html

name:  ss: Site Search - search within site (domain)
location:  javascript:void(location.href='http://www.google.com/search?&q=site:'+location.href.split(%22/%22)[2]+'+%s&sourceid=firefox')
keyword:  ss:y
description:  based on http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php

name:  ss:y Site Search - Yahoo search within site (domain)
location:  javascript:void(location.href='http://search.yahoo.com/search?p=site:'+location.href.split(%22/%22)[2]+'+%s')
keyword:  ss:
description:  based on http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php

Add a Search Engine, or add a Keyword Shortcut for a search from any search Form   (#addkws)

The Add to Search Bar (formerly Search Engine Ordering) Extension. 
to create a search engine or a keyword shortcut by simply right-clicking within a search form and choosing between:
  Add a Keyword for this Search...  
  Add this search to the Search Bar...  

The Context Search extension enhances the Search web for on the context menu to include a drop down of all of your personalized seach engines.  It will not change the search engine you already have on the search bar.
  Search web for "selected words"  

This area is pretty close but needs a little work since add to search bar replaces search engine ordering extension.

Some additional pictures of the dropdowns and context menu with the searchbar dropdowns – [large drop-down] [Context menu added by Add to Search Bar extension]

It will not include anything already written into the search form, but this is a big help for making searching easier. You can test with the following, copied from http://www.mozilla.org/
 

This one is for my own testing, don't have the hang of forms yet, so it won't work in the normal way:

   Google web search eliminating newsgroup discussions

The actual search generated will be something like this (%s is your words)
http://www.google.com/search?&q%20&rest?sourceid=Mozilla-search&rest=filetype%3A html%20OR%20filetype%3Ahtm%20%0D%0A-hth%20-new.threads%20-next.thread%20-thread. index%20-vbulletin%20-top.results%20-get.paid%20%0D%0A-discussion.groups%20-reply. to.this%20-usenet-archives%0D%0Afiletype%3Ahtm%20filetype%3Ahtml%20%0D%0A-inurl%3A archive%20-inurl%3Athread%20-inurl%3Aforum%20%20-site%3Aozgrid.com&q=%s

Add to Search Bar - context menu for searchbar   (#addtosearchbar_context)

 Add a Keyword for this Search...
 Add a Search Bar

The Add to Search Bar extension adds context items to the main context menu to add search engines with a right click on the main entry area of a (search or other) form. 

JavaScript mixed in with keyword search   (#javascript)

As already noted many of the keyword shortcuts are also actually bookmarklets.  If you click on the "HREF visible" bookmarklet (above) you will see that many of the keyword searches on this page include JavaScript. Here are some more interesting applications of JavaScript to kws.

Search that targets both Google and AltaVisa into two separate Tabs(/windows)  (old FatJohn 2005-10-28)

javascript:void(window.open('http://www.google.com/search?q=%s')); 
   void(window.open('http://www.altavista.com/web/results?q=%s'))

Additional Search Related items/extensions   (#searchext)

I have included the actual addresses of the extensions above, but you might really want to look them up from my Firefox page which has additional Short Comment Notes.

Bugzilla   (#bugzilla)

Newsgroups, threads, message-id   (#newsgroups)

msgid:  bring up newsgroup thread based on Message-id in newsgroup headers.
Bring up Google Groups for the indicated message-id
http://groups.google.com/groups?threadm=%s
news:ff  news.mozilla.org
Bring up single message from news server, if still present
news://news.mozilla.org/%S
If anyone has a script to remove "Message-id: <" and ">", when present, would be helpful,

Ctrl+Z to retrieve previously entered kws   (#ctrlz)

If you used a keyword shortcut to invoke a bookmarklet to change the appearance of the page you can place cursor on location bar and hit Ctrl+Z first to bring back the keyword and parameters you entered, next to show the actual url that is for the current page but became hidden. (Splibbilla 2007-07-01)

Web Developer, revealed   (#wd)

The following web page appears to describe how Web Developer items are defined.

Preparation of this data   (#preparation)

Although the examples on this page will be updated manually the initial table was generated by copying a section of bookmarks.htm (within your profile) and pasting into Excel and then using the description and embedded link to generate a string for HTML.

View bookmarks.html with your browser, select the "S" folder (shortcuts, and paste into Excel.  use the following Excel worksheet formula to convert links into hyperllinks for inclusion above.

A1:  aardvark: Aardvark Firefox Extension

Formula as entered in cell B2:
  ="<dt><a href="""&pesonal.xls!url(A2)& """ shortcuturl="""&LEFT(A2,FIND(" ",A2)-1)&"""><b>" &LEFT(A2,FIND(" ",A2)-1)& "</b>" & MID(A2,FIND(" ",A2),250)&"</a></dt>"

formula used to display the above for html
  =pesonal.xls!htmlify(pesonal.xls!GetFormulaD(B2))

To view all of the links included: click on the “HREF visible” at top of page.

Text as seen in HTML source
  <dt><a href="http://karmatics.com/aardvark/" shortcuturl="aardvark:"><b>aardvark:</b> Aardvark Firefox Extension</a></dt>

Was hoping inclusion of shortcuturl would allow one to drag the bookmark from here to a folder on the personal toolbar folder, but didn't work that way you still have enter the shorcut yourself under properties.  If you want to update several or see what is available along with the link, and comments you can right click on the folder on your personal toolbar to bring up the context menu and use Expand just like any other bookmark folder.

Invoking notepad   (#notepad)

Notepad is a good example of a program you want quick accessibilty to from HTML if you are using a Windows system, set the string value to c:\winnt\system32\notepad.exe via about:config
extensions.editconfigfiles.config.editor.path, c:\winnt\system32\notepad.exe
greasemonkey.editor, c:\winnt\system32\notepad.exe
menux.editor.path, c:\winnt\system32\notepad.exe
view_source.editor.external, True
view_source.editor.path, c:\winnt\system32\notepad.exe

The MenuX extension provides Alt+X shortcut to open the current HTML file in Notepad.  This is the easiest method I've found.  caution:  MenuX is reading from the location bar rather than the actual filename, though it has been fixed to ignore a fragment-id (firefox.htm#keywords) which is an improvement.  Being able to specify the editor to be used in MenuX makes this work well for Windows as well as Linux users.  Have since dropped MenuX as it creates too many problem such as stepping on the keyboard shortcuts of Firefox itself and of many extensions and very little of it is actually wanted.  For other solutions see invoking Notepad.

The Launchy extension provides access to Notepad by name in it's context menu because Notepad is an editor.  Directly edits a file if the HTML file on your local drive, and uses a temporary file if invoked from HTML on the web, which helps.

The Launchy extension provides access to a link file:///c:/winnt/system32/notepad.exe if you choose Browse Link in Explorer (from within Launchy) and then choose Open.  Some of my webpages indicate a link to installed software as (/\) and you can use launchy as just described to open the link.  IE would put you directly to the dialog for you to choose Open.

I have no Keywords shortcut to launch an executable file directly and this is, I'm sure, specifically by design in Firefox, though there certainly are exceptions.

Another possibility, I am hoping for is a JavaScript keyword shortcut to invoke Notepad for a local file (url).

Firefox Chrome URLs   (#chromeurls)

Dev : Firefox Chrome URLs - MozillaZine Knowledge Base, a list of all standard XUL files contained by Firefox, displayed using their chrome URLs.  Also shown is a description of what that URL does and how it is used.  To run a chrome URL in Firefox, you must copy and paste it into the location bar. If it is type "A", then it will probably work using this method.

so I set up at keyword shortcut  "b:" (to be entered on the location bar)  for the Bookmarks Manager, chrome://browser/content/bookmarks/bookmarksManager.xul -- which is the only item on my View, Sidebar that is missing a keyboard shortcut.

To be added

Try   Alt+T+A   to get to   Tools, Ad-ons
If you have  the MenuX extension you might have suppressed that
menu item..

This should get you to the Extensions list in Firefox 2
  chrome://mozapps/content/extensions/extensions.xul
paste the above line into your location bar
Not finding this in 
  http://kb.mozillazine.org/Dev_:_Firefox_Chrome_URLs
Looked in  about:config  for "chrome"   guess it can be changed

My URL Bar   (#myurlbar)

note: Dumped this extension, myurlbar is too distracting, and has speed issues.

Basically myurlbar brings the Manage Bookmarks search feature right to your location bar showing url and title. Lacks documentation but guess you've got a little more now.  Links to install the myurlbar extension can be found on my Extensions Page.  You can use Manage Bookmarks to find the actual bookmark.  Your bookmarks and history become very handy for anyone who accesses your computer with your profile (just a friendly warning).

[[myurlbar]]

Use of the myurlbar somewhat shows the advantage of including a colon as part of your key word shortcuts. 

[[myurlbar]]

Fx3 has this builtin and is much better in selections, and shows a filled in star if the url is bookmarkd so you can see if it came from a bookmark, or is only in history.nbsp; See awesomebar (URL bar autocomplete list).

Solving Most Firefox Problems   (#problemsolving)

The keyword shortcuts mentioned earlier on this page can be very useful in solving Firefox problems.

Most Firefox problems can be solved with some help from one or more of the following:

Problems     (#problems)

Related extensions can be seen in an earlier topic, Search Extensions
Bookmarklets;  There are a lot of links on this page.  The following BookMarklets (Favelets) will distinguish between internal or external links.  First click on "highlight links",  and then on "int/ext links".  Your browser's Reset button (F5) will reload the original unmodified web page. 
Questions not directly concerning my web pages are best directed to a traditional newsgroup:  i.e. on the news.mozilla.org server you can subscribe to mozilla.support.firefox using Outlook Express or other newsreaders,
or to forum: MozillaZine ForumsSuggest installing the moz: keyword shortcut to search forums.  My preference is to newsgroups, because web forums should never have been included on web page searches.  The only saving grace is that most Google web searches for Firefox could simply use site:mozilla.org firefox to restrict to mozilla's web pages.  (Firefox Help - Online Help for the Mozilla Firefox Web Browser)
For bookmarklets and favelets which are javascript code the best newsgroup for asking questions would be comp.lang.javascript and see the FAQ

W3C Validator at w3.org (checks coding) || W3c Link Check of this page. 
This page was introduced on June 6, 2005. 
[My Excel Pages -- home]    [INDEX (Excel) to my site and the off-site pages I reference] 
[Site Search -- Excel]     [Go Back]    [Return to TOP

Please send your comments concerning this web page to: David McRitchie send email comments


Copyright © 2004 - 2008,  F. David McRitchie,  All Rights Reserved