為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 有這個問題
  • 24 次檢視
  • 最近回覆由 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}"