css-feature-toggle-devtools-extension
css-feature-toggle-devtools-extension copied to clipboard
Firefox support
Firefox doesn't yet support the all devtools extension APIs needed for this extension to work. Specifically, it's the devtools.inspectedWindow.getResources method, the devtools.inspectedWindow.onResourceAdded event and the Resource interface that are missing.
Without these APIs it's not possible for the extension to access stylesheet content but, if possible, I still want to support developers that use Firefox by exploring other means of reading, modifying and updating stylesheet and document content.
Without the devtools APIs I suspect getting at the content will be problematic because of security features (same-origin policy etc) and — if that proves to be the case — I still think offering a limited version is better than nothing.
For reference, there's a bugzilla issue for the missing API methods.