为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I'm trying to port the "Crunchyroll Full Screen, All The Time" Chrome addon, but I can't figure out how to get it to work.

  • 6 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 TyDraniu

more options

(Chrome Addon https://chrome.google.com/webstore/detail/crunchyroll-full-screen-a/aebamgnddkjifkidngamjohhgkfholmj) I have the code off of the Chrome Web Store (https://drive.google.com/open?id=1M0PP8038FtWgMmif9OzP0r4sCbA8VrNK). I put in the manifest.json or content.js in the debug menu as a temporary addon, and it get's the menu, but not the actual function of the addon. Please help.

(Chrome Addon https://chrome.google.com/webstore/detail/crunchyroll-full-screen-a/aebamgnddkjifkidngamjohhgkfholmj) I have the code off of the Chrome Web Store (https://drive.google.com/open?id=1M0PP8038FtWgMmif9OzP0r4sCbA8VrNK). I put in the manifest.json or content.js in the debug menu as a temporary addon, and it get's the menu, but not the actual function of the addon. Please help.

所有回复 (6)

more options

Edit: I have tried using the zip instead of the .json or .js mentioned above as well. It still didn't work.

more options

Check out this page to test the addon: https://www.extensiontest.com/

more options

TyDraniu said

Check out this page to test the addon: https://www.extensiontest.com/

(Folder contains the .crx and .zip https://drive.google.com/drive/folders/1Xpwx6z46rrR4vcK4imxDsFDYgHZ9gsLA?usp=sharing) Both the crx and zip come up with no problems on the website, but using the temporary addon it doesn't work. It shows up in the top right, and it opens like it does in Chrome, but the "Toggle binge mode" button does nothing.

more options

storage.sync can cause issues when loaded temporarily",

description: "This API can cause issues when loaded temporarily using about:debugging in Firefox unless you specify applications|browser_specific_settings > gecko > id in the manifest. Please see: https://mzl.la/2hizK4a for more.

more options

Okay, now how exactly would I edit the manifest.json file? Do I need an external tool? Also, what is the "addon@example.com" mentioned on that site?

由Marcus Mesecher于修改

more options

Marcus Mesecher said

Okay, now how exactly would I edit the manifest.json file? Do I need an external tool?

You need just any good text editor, like Notepad++.


Marcus Mesecher said

Also, what is the "addon@example.com" mentioned on that site?


It's ID. The extension ID must be one of the following:

  • GUID
  • A string formatted like an email address: extensionname@example.org

The latter format is easier to generate and manipulate. Be aware that using a real email address here may attract spam.

For example:

  • "id": "extensionname@example.org"
  • "id": "{daf44bf7-a45e-4450-979c-91cf07434c3d}"