S
S
Schoolboy.2016-06-11 15:22:20
JavaScript
Schoolboy., 2016-06-11 15:22:20

How to convert chrome extension to firefox via chrome-tailor?

If I enter chrome-tailor run, then:

Creating XPI
JPM undefined XPI created at /tmp/@chrome-tailor-jetpack-0.0.2.xpi (3892ms)
Created XPI at /tmp/@chrome-tailor-jetpack-0.0.2.xpi
JPM undefined Creating a new profile
JPM undefined No Firefox binary found at null
JPM undefined Specify a Firefox binary to use with the `-b` flag.
Unhandled rejection Error: spawn /usr/lib64/firefox ENOENT
    at exports._errnoException (util.js:870:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)

And if I enter chrome-tailor xpi, then:
JPM undefined Adding: /tmp/chromeTailor_244730Ixf8jicXvHk/data/crx/js/codeForDraft.js
JPM undefined Adding: /tmp/chromeTailor_244730Ixf8jicXvHk/data/crx/js/codeOne.js
JPM undefined Adding: /tmp/chromeTailor_244730Ixf8jicXvHk/data/crx/js/popup.js
JPM undefined Adding: /tmp/chromeTailor_244730Ixf8jicXvHk/data/crx/_locales/en/messages.json
JPM undefined Adding: /tmp/chromeTailor_244730Ixf8jicXvHk/data/crx/_locales/ru/messages.json
JPM undefined XPI created at /home/moz/@chrome-tailor-jetpack-0.0.2.xpi (3594ms)
JPM undefined Removing fallbacks if they were necessary..
Created XPI at /home/moz/@chrome-tailor-jetpack-0.0.2.xpi
Created xpi at /home/moz/@chrome-tailor-jetpack-0.0.2.xpi
Done!

I was so happy, I thought he converted my extension, but it turns out he just created a standard xpi example, and did not convert my extension. Maybe there is some other sequence of commands. Why does he create some kind of example for me?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question