much praise plus a few tips Waardering 4 van 5 sterren

This extension is just great and certainly much superior to the extremely crash-prone Gnome CHM Viewer or other stand-alone applications. Because what could be better at displaying bunches of html files (for that's what chm files basically are) than a powerful web browser like Firefox? Opening chm files with CHM Reader inside Firefox is a bit too complicated for my taste (but see my tip below), toggling the index display on/off could be easier too, but otherwise, this extension is a job very well done.

One major drawback, however, is the packaging. The XPI presented above is rather old and not compabtible with 64-bit systems. But you can easily build your own up-to-date version. In Ubuntu, do the following:

1) apt-get install svn xulrunner-dev scons (you may need more packages if you haven't done any compiling of your own before, so YMMV)

2) At a terminal, grab the current source code like this:

svn co https://chmreader.svn.sourceforge.net/svnroot/chmreader/trunk chmreader

3) cd to chmreader/trunk and set two variables by entering:

export GECKO_SDK=/usr/lib/xulrunner-devel-1.9.1.3
export export PATH=$PATH:/usr/lib/xulrunner-devel-1.9.1.3

You may have to modify the numbers in the path name to reflect the version of the Gecko SDK/xulrunner development package that's on your machine.

4) Generate an XPI file to install in Firefox:

make package

That's it! If you want to use CHM Reader on both 32-bit and 64-bit machines, you'll have to build separate packages on each platform (though there's probably some way to cross-compile the whole thing into a univeral package).

If you would like to open any chm file in Firefox by double-clicking it in Nautilus, do the following:

1) Place a file named firefox-chm.desktop or similar in
~/.local/share/applications and paste the following text into it:

[Desktop Entry]
Version=1.0
Name=Firefox as CHM Reader
Comment=View CHM file in Firefox with CHM Reader extension
Exec=firefox-chm %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox-3.0
Categories=
MimeType=application/x-chm;
StartupWMClass=Firefox
StartupNotify=true
NoDisplay=true
Terminal=false

2) Then create a file named firefox-chm somewhere in your path (e. g. ~/bin), make it executable (chmod u+x firefox-chm), and put this snippet of perl code into it:

#!/usr/bin/env perl
my $url = shift;
$url =~ s[^(?:file://)?][chm:file://];
exec('firefox', $url);

You don't like perl? Well, use your own favorite scripting language then ...

Waardering 5 van 5 sterren

It's very usefull. Work fine in 3.5.2. Thank you!

firefox portable incompatible Waardering 2 van 5 sterren

Doesn't work with firefox portable. Not with extensions.checkCompatibility and extensions.checkUpdateSecurity disabled.Not with 3.5.2, not with 3.0.13......disappointing

Waardering 5 van 5 sterren

Works fine in 3.5 if Nightly Tester Tools is used to override compatibility.

Waardering 4 van 5 sterren

nice add-on.. but does NOT work any longer ..
NOT with Firefox 3.5 .. NOT with current beta 3.5.1

Worked with Firefox 3.0
Can you please make it work with 3.5.X series ;)
Thanks

Waardering 4 van 5 sterren

nice add-on.. but does NOT work any longer ..
NOT with Firefox 3.5 .. NOT with current beta 3.5.1

Worked with Firefox 3.0
Can you please make it work with 3.5.X series ;)
Thanks

Waardering 4 van 5 sterren

very useful.

shortcut key ctrl-E Waardering 4 van 5 sterren

there was a problem under windows xp with firefox 3.0.8 :the shortcut key ctrl-E (show contents)has be defined to jump to search bar

I have a problem,please! Waardering 5 van 5 sterren

错误: uncaught exception: [Exception... "'[JavaScript Error: "Components.classes[kCHMFILE_CONTRACTID] is undefined" {file: "file:///root/.mozilla/firefox/btsctii7.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js" line: 149}]' when calling method: [nsIProtocolHandler::newChannel]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: loadURIWithFlags :: line 186" data: yes]

this isscu in redhat fedora redflag can make it 100%
Thanks tell me why and how to fix

Almost there Waardering 3 van 5 sterren

GREAT Addon, but there are a couple of things I would recommend:

1) I'd like to see Firefox support .chm's natively through the File>Open dialog and through address bar / command line without the "chm:" prefix. In other words, make Firefox hand the baton to CHM Reader using the file extension, not the prefix. (I don't know how possible this is.)

2) I commonly use this extension for a rather large chm, with a hefty index. This index is not alphabetized, but is a wiki archive. I'd love a search feature which lists, if not the matches from the articles themselves, then matches from the titles of the articles.

Just don't work at all Waardering 2 van 5 sterren

CHM Reader 0.2.3, Mozilla/5.0 (X11; U; Linux i686 (x86_64); ru; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5.

In error console:
Ошибка: uncaught exception: [Exception... "'[JavaScript Error: "Components.classes[kCHMFILE_CONTRACTID] is undefined" {file: "file:///home/USER/.mozilla/firefox/i3if533r.default/extensions/%7B6e098d65-7d2d-46d4-ada0-2f882a29f795%7D/components/chm_protocol.js" line: 149}]' when calling method: [nsIProtocolHandler::newChannel]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: loadURIWithFlags :: line 186" data: yes]

Works on Mac OS X! Waardering 4 van 5 sterren

The main Webpage for this add-on says it is not available for Mac OS X, but it seems to be running fine on my MacBook Pro under OS X 10.5.6, aka Leopard. Why?

Waardering 5 van 5 sterren

thank you sooooooo much! Very helpful~~~

Waardering 5 van 5 sterren

good,think you!

Waardering 5 van 5 sterren

Well, here's the solution for those who complain about the zoom level changing from page to page. Open the about:config page, search for the browser.zoom.siteSpecific attribute and set it to false. Also, if you want to be able to open the files from the explorer, create a file named openchm.cmd under c:\windows and put the following in it (adjust firefox path if necessary):

start "" "C:\Program Files\Mozilla Firefox\firefox.exe" "chm:file://%~1"

Next use "open with..." menu in explorer and search for this file. Also select the "always use this application to open this kind of file". Now you should be able to open chm files in firefox by just double clicking in explorer.

Good luck!

Locale charset problems Waardering 5 van 5 sterren

It working cool!!,I am translate it, but problem with special language charsets in tree
Tree on a sidebar encoded as UTF-8 but may be in codes like   and in windows-1251. I am add conversion to UTF-8(unicode) from windows-1251 - result:files with codes in .hhc converts normaly, but with strings in cp-1251 - not corretly.

In CHM pages compress graither than in ZIP or RAR!!!!!

Waardering 5 van 5 sterren

This is in my top 5 favourite FF extensions. I recently received a CHM file that wouldn't display properly with my Gnome CHM reader in Linux. This addon did the job perfectly.
This is now my preferred CHM reader in Linux.
Thanks :)

Please some suggestion how to make it work Waardering 4 van 5 sterren

Previously I use chmreader 2.1.1 on firefox 2.0.0.16, but after I upgrade the firefox to v3.0.5 x86 and use chmreader-2.3-fx.linux, it won;t work..Please some help/suggestion on how to make it work !

So, what can i say Waardering 4 van 5 sterren

It is good idea to open .chm's in Firefox.

1) But i cannot see index/contents on sidebar at all (Firefox 3.0.5, plugin 0.2.3)

2) Have a file which plugin fails to open (if Author is interested - mailto:leonius@inbox.ru )

3) Fix a work please)

4) Maybe, it would be useful - .cmd code which can be associated with .chm files in explorer (works only for local files):
start "" "\firefox.exe" "chm:file://%~1"

firefox as CHM-MIME-handler Waardering 4 van 5 sterren

It would be great, if firefox could open chm-files as one of its common formats through that plug-in. It is a pitty that in order to open CHM, one cannot just double-click the file, but has to open through a menu or button.