Дополнения для браузера 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 reviews)5 (1 reviews)
1 пользователь1 пользователь
Вам понадобится Firefox, чтобы использовать это расширение
Загрузите 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);
Оценено 1 рецензентом на 5
Войдите, чтобы оценить это расширение
Оценок пока нет

Рейтинг сохранён

5
1
4
0
3
0
2
0
1
0
Прочитать 1 отзыв
Разрешения и данныеПодробнее

Требуемые разрешения:

  • Получать доступ к вашим данных на всех сайтах

Опциональные разрешения:

  • Получать доступ к вашим данных на всех сайтах
Больше сведений
Версия
1.0
Размер
9,19 КБ
Последнее обновление
2 года назад (2 янв. 2024 г.)
Связанные категории
  • Другое
Лицензия
Публичная лицензия Mozilla 2.0
История версий
  • Просмотреть все версии
Добавить в подборку
Пожаловаться на это дополнение
Другие расширения от Dennis V.
  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

Перейти на домашнюю страницу Mozilla

Дополнения

  • О сайте
  • Блог дополнений для Firefox
  • Мастерская расширений
  • Центр разработчика
  • Политики разработчика
  • Блог Сообщества
  • Форум
  • Сообщить об ошибке
  • Руководство по написанию отзывов

Браузеры

  • Desktop
  • Mobile
  • Enterprise

Продукты

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватность
  • Куки
  • Юридическая информация

За исключением случаев, описанных здесь, содержимое этого сайта лицензировано на условиях лицензии Creative Commons «Атрибуция — На тех же условиях» версии 3.0 или любой более поздней версии.