                    }
                        }
                    }
                    removed = removed.concat([Promise.resolve()]);
                    return Promise.allSettled(removed).finally(function (){
                        for (var i = 0; i < hrefs.length; i++) {
                            var ss = hrefs[i];
                            if (ss.endsWith(".js")) {
                                var e = document.createElement("script"); e.setAttribute("src", ss); e.setAttribute("type", "text/jav