Додатки браузера Firefox
  • Розширення
  • Теми
    • для Firefox
    • Словники та локалізації
    • Інші сайти браузера
    • Додатки для Android
Увійти
Перегляд Window Session Opening Utility

Window Session Opening Utility автор Dennis V.

This extension offers two events for easily creating new windows using the contextualIdentities and cookies API. The primary intended use of this extension is to easy work with mutliple windows in development enviroments.

5 (1 review)5 (1 review)
1 User1 User
Завантажити Firefox та отримати розширення
Завантажити файл

Метадані розширення

Про це розширення
The extension offers two events that can be thrown in the browser with javascript coding.

OpenWindowWithContainerFirefoxExtension
Description: Opens a URL in a new window using a specific contextual identity
Parameter: The event expect a paramter object. The following values can be specified:
- debug: Enables the printing of debug messages in the background extension job
- context:
- url: The URL that should be opened (Mandatory)
- context: The context that should be used for the new window (optional, if not specified a context based on a random number will be generated)
-
Example:
var event = new CustomEvent("OpenWindowWithContainerFirefoxExtension", {
detail: {
debug: true,
context:{
url: https://www.google.com/,
context: "MyNewWindowContext"
}
},
});
window.dispatchEvent(event);

SetCookieFirefoxExtension
Description: Sets a cookie for a given cookieStoreId
Parameter: The event expect a paramter object. The following values can be specified:
- debug: Enables the printing of debug messages in the background extension job
- cookie:
- value: The value of the cookie
- url: The URL for which the cookie is valid
- name: The name of the cookie
- storage: The CookieStoreID
Example:
var event = new CustomEvent("SetCookieFirefoxExtension", {
detail: {
debug: true,
context:{
value: "My Cookie Value",
url: "https://www.google.com/",
name: "My Cookie",
storage: "firefox-default"
}
}
});
window.dispatchEvent(event);
Rated 5 by 1 reviewer
Увійдіть, щоб оцінити це розширення
Ще немає оцінок

Рейтинг збережено

5
1
4
0
3
0
2
0
1
0
Читати 1 відгук
Permissions and dataДокладніше

Необхідні дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів

Необов'язкові дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів
Більше інформації
Версія
1.0
Розмір
9,19 КБ
Востаннє оновлено
2 роки тому (2 січ 2024 р.)
Пов'язані категорії
  • Інше
Ліцензія
Громадська ліцензія Mozilla 2.0
Історія версій
  • Переглянути всі версії
Додати до збірки
Повідомити про цей додаток
Перейти на домівку Mozilla

Додатки

  • Про
  • Блог додатків Firefox
  • Семінар з розширень
  • Центр розробника
  • Політики розробників
  • Блог спільноти
  • Форум
  • Повідомити про помилку
  • Настанови з написання відгуків

Браузери

  • Desktop
  • Mobile
  • Enterprise

Продукти

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватність
  • Файли cookie
  • Правові положення

За винятком випадків зазначених тут, вміст цього сайту ліцензовано на умовах ліцензії Creative Commons Attribution Share-Alike License v3.0, або будь-якою новішою версією.