css-feature-toggle-devtools-extension icon indicating copy to clipboard operation
css-feature-toggle-devtools-extension copied to clipboard

Firefox support

Open keithclark opened this issue 6 years ago • 1 comments
trafficstars

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.

keithclark avatar Jan 24 '19 01:01 keithclark

For reference, there's a bugzilla issue for the missing API methods.

keithclark avatar Jan 24 '19 01:01 keithclark