Hi Rick,
On Thu, 2015-05-28 at 10:51 -0400, Rick Leir wrote:
> Hi Jim
>
> I work with .hocr's so your add-on is welcome!
>
Thanks for the kind note!
Thanks, perhaps I will add a note to the web site about this.
>
> Now I can see the hOCR add-on at the bottom right. Try to edit
> a .hocr:
> "Firefox doesn't know how to open this address, because one of the
> following protocols (hocr-edit) isn't associated with any program or
> is not allowed in this context.
>
>
> I tried browsing to file:/path/aaa.hocr
>
> I tried browsing to localhost:/path/aaa.hocr
>
>
> Ok, now I have git cloned. The source is a bit different, so I am
> optimistic: wrap an xpi and try it. But the same error as above.
>
>
> I tried increasing maxVersion to 40.*
>
>
>
> I looked through the source, but the answer does not jump out at me.
> The extension must have been installed because in about:config there
> is:
> extensions.hocr-edit.disable_tagsoup_output_filter;false
>
> and extensions.enabledAddons includes
> moz-hocr-edit%40jimgarrison.org:0.5pre
>
>
> Sorry, I have to get back to work now. You probably know what is wrong
> here.
Thank you for your investigations. I believe this is the same issue
reported here:
https://github.com/garrison/moz-hocr-edit/issues/1
My best guess is that Firefox changed the API for extensions to register
new protocols.
At the moment I am incredibly busy (currently at the Piled Higher and
Deeper stage of graduate school, and about to get married in the next
month), so I may not have time to look at this for a few months. I
would be incredibly grateful if somebody could get to the bottom of it
and submit a pull request that fixes it. There may even be a hint in
the release notes for recent versions of Firefox -- I have not had a
chance to look.
All the best,
Jim