@@ -15,8 +15,12 @@
];
for (let i = 0; i < urls.length; i++) {
- window.open(urls[i], "_blank");
+ if (i === urls.length - 1) {
+ window.open(urls[i], "_self");
+ } else {
+ window.open(urls[i], "_blank");
+ }
+
}
- window.close();
</script>
</html>