There are many ways to load and execute JavaScript, static/dynamic adding a script tag to the html, html imports, manual fetch + eval , concatenation of javascript files in 1 file, in the future maybe the import syntax ? and now <script module> ?<p>Do we really want to add more ways ? Complexity is an enemy of security, it will add more confusion. Maybe we should first disable/remove ways to load and execute JavaScript.<p>We should also think, if what really need is a client solution or a better tool/system to transform scripts, in a script server side.<p>Why, what should be clearly answered before thinking in terms of how.<p>Sometimes having the bigger picture in your head helps.