Open massongit opened 2 years ago
textlint editor for Firefox was rejected by following reason.
Remotely executing code is not permitted in any form, including using Web Workers as a sandbox.
Current textlint editor require to install worker script as remtely executing code. It is similar with Greasemonkey-like extensions, I think. https://addons.mozilla.org/ja/firefox/addon/tampermonkey/ https://addons.mozilla.org/ja/firefox/addon/greasemonkey/ This extension show dialog before installing the worker script for avoiding malcious script. Also, the script is exectuted in WebWorker. the worker script can not access webextension APIs/ContentScript APIs.
But, Firefox disallow to use this approch because this is remotely executing code.
If we will re-publish textlint editor, we need to bundle textlint scripts into this extension. It means that the extension user can not install own script. Instead of it, the extension user select rule from built-in rules.
This approch is similar with https://chrome.google.com/webstore/detail/textlint-proofreader/hdongmdneapmhfblomidbafplpanpdmm?hl=ja https://github.com/io-monad/textlint-chrome-extension
If you take a long time to resolve it, I think you can remove the Firefox add-on URL from README.md
.
@azu Could you distribute firefox .xpi file as Github release instead of AMO ?
Firefox require sign to install addon. So, a signing is required.
I do not understand that Self-distribution for public is allowed in Firefox Addon Guideline.
I can not install firefox addon because https://addons.mozilla.org/ja/firefox/addon/textlint-editor/ is 404.