Sparika/Firefox-html-to-epub — comment on commit 6bcd7ccfa5c8eb0f7b2edaf9cf0c4592fddb7fa6
File: extension/extension.js line 52
By Yoric:

I haven't checked whether it works, but at a quick glance, it looks good. Don't forget to indentate your code, though.