Buscador de complementos para Firefox
  • Extensiones
  • Temas
    • para Firefox
    • Diccionarios y paquetes de idiomas
    • Otros sitios de navegadores
    • Complementos para Android
Cerrar sesión
Vista previa de Window Session Opening Utility

Window Session Opening Utility por 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
Descarga Firefox y obtiene la extensión
Descargar archivo

Metadata de la extensión

Sobre esta extensión
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
Inicia sesión para evaluar esta extensión
Todavía no hay valoraciones

Se guardó la valoración

5
1
4
0
3
0
2
0
1
0
Leer 1 revisiones
Permissions and dataSaber más

Required permissions:

  • Acceder a tus datos para todos los sitios web

Optional permissions:

  • Acceder a tus datos para todos los sitios web
Más información
Versión
1.0
Tamaño
9.19 KB
Última actualización
hace 2 años (2 de ene. de 2024)
Categorías
  • Otro
Licencia
Licencia Pública de Mozilla 2.0
Historial de versiones
  • Ver todas las versiones
Añadir a la colección
Reportar este complemento
Ir a la página de inicio de Mozilla

Complementos

  • Acerca de
  • Acerca de los complementos de Firefox
  • Taller de extensiones
  • Central del desarrollador
  • Normativas para desarrolladores
  • Blog Comunitario
  • Foro
  • Informar de un error
  • Guía de revisión

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidad
  • Cookies
  • Legal

A menos que se indique lo contrario, el contenido de este sitio está licenciado bajo la licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o una versión posterior.