The script-injected pattern offers no benefits over
<script async>. The reason it exists is because
<script async> was not available and preload scanners did not exist back when it was first introduced. However, that era has now passed, and we need to update our best practices to use async attribute instead of script-injected scripts. In short, script-injected “async scripts” considered harmful.