Browser extensions:
JS function pages
Should probably aim for:
- (overview - no H2)
-
H2. Syntax
- H3. Parameters
- H3. Return value
- H2. Examples
- H2. Browser compat
Example: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/executeScript
Note that “Specifications” is missing compared to the CSS pages. Perhaps it should be included, and link to https://browserext.github.io/browserext/.
Note also that all the actual pages have “Examples” and “Browser compat” the wrong way round. I need to take the time to fix this.
JS event pages
Should probably aim for:
- (overview - no H2)
-
H2. Syntax
- H2. Examples
- H2. Browser compat
Example: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/onActivated
Note that they’re not terribly close to this at the moment.
JS type pages
Should probably aim for:
- (overview - no H2)
- H2. Syntax
- H2. Browser compat
Example: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/MutedInfo
Note that these pages currently uses “Type” instead of “Syntax”, but they should probably use “Syntax”.
Manifest key pages
Should probably aim for:
- (overview - no H2)
- H2. Syntax
- H2. Examples
- H2. Browser compat
Example: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/author
Note that this is currently missing the “Syntax” H2, but it should probably have one.