Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

element.openOrClosedShadowRoot property always returns null

  • 1 odpoveď
  • 0 má tento problém
  • 11 zobrazení
  • Posledná odpoveď od cor-el

more options

Hello, I'm trying to use https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dom/openOrClosedShadowRoot functionality in an extension but the element.openOrClosedShadowRoot always returns null.

Also is there a place in Firefox Devtools console (similar to the Chrome Devtools dropdown) to switch the context from the user console to the extension console so we can try extension only APIs?

Thanks.

Hello, I'm trying to use https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/dom/openOrClosedShadowRoot functionality in an extension but the element.openOrClosedShadowRoot always returns null. Also is there a place in Firefox Devtools console (similar to the Chrome Devtools dropdown) to switch the context from the user console to the extension console so we can try extension only APIs? Thanks.

Všetky odpovede (1)

more options

Open about:debugging and go to "This Firefox" and click the Inspect button next to the extension.

Pomohla vám táto odpoveď?

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.