Dodatki za brskalnik Firefox
  • Razširitve
  • Teme
    • za Firefox
    • Slovarji in jezikovni paketi
    • Druge strani brskalnika
    • Dodatki za Android
Prijava
Predogled "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 ocena)5 (1 ocena)
1 uporabnik1 uporabnik
Prenesite Firefox in pridobite razširitev
Prenesi datoteko

Metapodatki o razširitvi

O tej razširitvi
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);
Ocena 5 (1 mnenje)
Prijavite se, da ocenite to razširitev
Še ni ocenjeno

Ocena shranjena

5
1
4
0
3
0
2
0
1
0
Preberi 1 oceno
Dovoljenja in podatkiVeč o tem

Zahtevana dovoljenja:

  • dostopa do vaših podatkov za vsa spletna mesta

Neobvezna dovoljenja:

  • dostopa do vaših podatkov za vsa spletna mesta
Več informacij
Različica
1.0
Velikost
9,19 KB
Zadnja posodobitev
pred 2 letoma (2. jan. 2024)
Sorodne kategorije
  • Drugo
Licenca
Mozilla Public License 2.0
Zgodovina različic
  • Ogled vseh različic
Dodaj v zbirko
Prijavi ta dodatek
Pojdi na domačo stran Mozille

Dodatki

  • O strani
  • Blog Dodatkov za Firefox
  • Delavnica razširitev
  • Razvojno središče
  • Pravilniki za razvijalce
  • Blog skupnosti
  • Forum
  • Prijavi hrošča
  • Smernice za ocene

Brskalniki

  • Desktop
  • Mobile
  • Enterprise

Izdelki

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Zasebnost
  • Piškotki
  • Pravno obvestilo

Če ni navedeno drugače, je vsebina tega spletnega mesta na voljo pod licenco Creative Commons Attribution Share-Alike v3.0 ali pod katerokoli novejšo različico.