Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

element.openOrClosedShadowRoot property always returns null

  • 1 απάντηση
  • 0 έχουν αυτό το πρόβλημα
  • 11 προβολές
  • Τελευταία απάντηση από 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.

Όλες οι απαντήσεις (1)

more options

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