Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Support Web Extension (Firefox Extension) #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tksugimoto
Copy link
Owner

It does not work currently (Firefox 57.0.1).

Todo

  • Make it installable on firefox
  • Wait for web extension api to be able to open file URL
    tabs.create() - Mozilla | MDN

    For security reasons, in Firefox, this may not be a privileged URL. So passing any of the following URLs will fail:

    • file: URLs (i.e., files on the filesystem. However, to use a file packaged inside the extension, see below)
  • Change i18n message files
    • e.g.) disabled by Chrome

インストール時には全タブへ自動適用されるらしい
※ 開発用読み込み時のみの挙動かもしれないので要検証

備考(revertする時用)
Firefoxでは chrome.tabs.query で url検索する場合は tabs permissionが必要

tabs.query() - Mozilla | MDN
https://developer.mozilla.org/ja/Add-ons/WebExtensions/API/tabs/query

> 2. Fails if the extension doesn't have the tabs permission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant