DEV Community

[Comment from a deleted post]
Collapse
 
johncip profile image
jmc

That's good. The differences aren't big; IIRC some manifest options have different names, and the top-level API's namespace differs (chrome in Chrome & Opera, browser in Firefox & Edge).

My one relevant project only makes light use of the API and so it's likely that the namespace is the only difference I'll see. And it can be done transparently -- Firefox supports chrome as the namespace, or one can use browser in Chrome with a polyfill).

The state of the "standard" is weird -- from what I can tell, Moz and MS put some effort a while back into making Chrome's APIs a W3C recommendation, but it doesn't seem like Google cared much, and I suspect the planned manifest v3 changes are partly why.