افزونه‌های مرورگر فایرفاکس
  • افزونه‌ها
  • پوسته‌ها
    • برای فایرفاکس
    • واژه‌نامه‌ها و بسته‌های زبان
ورود
پیش‌نمایش Container Buddy

Container Buddy Kevin Jones توسط

Provides support for addons who want to support Containers features, but do not wish to annoy users not interested in such features. Workaround for bug 1386673. __WARNING__ see bug 1663547 caveat below (applies to all Containers support addons.)

0 (۰ بررسی)0 (۰ بررسی)
بدون کاربربدون کاربر
فایرفاکس را دریافت کنید و افزونه را بگیرید
دریافت فایل

فرادادهٔ افزونه

دربارهٔ این افزونه
WARNING - Using this or any other Containers supporting addon can potentially cause unexpected closing of Container tabs if the addon is removed. See Firefox bug 1663547 for details:
https://bugzilla.mozilla.org/show_bug.cgi?id=1663547

Provides Containers support for addons which only need it optionally. Due to bug 1386673, access to Containers data (via contextualIdentities permission) can not be made optional. This is a workaround for a problem that could annoy users. This addon is very lightweight, only 8 lines of code.

Presently, if an addon wants to support the Firefox Containers feature, it will force the Containers feature to be enabled anytime the addon is installed, even if the addon wants to offer those features optionally. This could be annoying to a user who does not want to use Container tabs, eg seeing menus populated with Container-related options. In that case their only option would be to disable the addon.

This addon works as a "buddy" to such type addons. This way the addon does not have to require Containers access (contextualIdentities permission) and force enabling Containers feature even for users who don't want it. Those who wish to use the addon's Containers-related features can install this buddy addon.

Firefox bug 1662329
https://bugzilla.mozilla.org/show_bug.cgi?id=1662329

Addon Devs:

To access the buddy, do something like this:

In place of `await browser.contextualIdentities.get(cookieStoreId)`:

let identity;

try {
identity = await browser.runtime.sendMessage("containerbuddy@containerbuddy.org",
{ topic: "getContainerData", cookieStoreId });
} catch(e) {
// Handle error
};

let { name, color } = identity;

In place of `await browser.contextualIdentities.query({})`:

let identities;

try {
identities = await browser.runtime.sendMessage("containerbuddy@containerbuddy.org",
{ topic: "getIdentities" });
} catch(e) {
// Handle error
};
امتیاز ۰ توسط ۱ بررسی‌کننده
وارد شوید تا به این افزونه امتیاز دهید
هنوز هیچ امتیازی ثبت نشده است

امتیاز ستاره‌ای ذخیره شد

۵
۰
۴
۰
۳
۰
۲
۰
۱
۰
هنوز بررسی‌ای ثبت نشده است
اطلاعات بیشتر
پیوند‌های افزونه
  • صفحه نخست
  • ایمیلٔ پشتیبانی
  • کپی شناسه افزونه
نسخه
0.0.2
اندازه
۲۹٫۶۱ کیلوبایت
آخرین به‌روزرسانی
۶ سال پیش (۸ سپتامبر ۲۰۲۰)
دسته‌بندی‌های مرتبط
  • توسعه وب
  • زبانه‌ها
مجوز
تنها مجوز عمومی گنو نسخه ۳.۰ (GPL v3.0)
تاریخچهٔ نسخه‌ها
  • نمایش همه نسخه‌ها
افزودن به مجموعه
گزارش این افزونه
رفتن به صفحه اصلی موزیلا

افزونه‌ها

  • درباره
  • وبلاگ افزونه‌های فایرفاکس
  • کارگاه افزونه
  • مرکز توسعه‌دهندگان
  • سیاست‌های توسعه‌دهنده
  • وبلاگ انجمن
  • انجمن
  • گزارش خطا
  • راهنمای بررسی

بارگیری

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

آخرین نسخه‌های ساخت

  • Nightly
  • Beta

فایرفاکس برای کسب‌وکار

  • Enterprise

انجمن

  • Connect
  • Contribute
  • Developer

دنبال کردن

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • حریم‌خصوصی
  • کوکی‌ها
  • حقوقی

غیر از مواردی که مشخص شده، محتوای این سایت تحت گواهینامه Creative Commons Attribution Share-Alike License v3.0 یا هر نسخه بعدی خواهد بود.