Provides a unified way to detect new features that use script elements.


Currently there is no simple way to know what kind of types can be used for HTMLScriptElement’s type attribute. There are several new feature proposals using the script element. We can use the nomodule attribute to detect the module type support. But there is no unified method to detect such new features. If we have the HTMLScriptElement.supports(type) method which is like HTMLLinkElement.relList.supports(), we can easily detect such features.




Specification link

Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Intent to Prototype url

Intent to Prototype thread

Last updated on 2022-01-22