Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
phexus23 authored Dec 5, 2024
1 parent f89a407 commit a24dd9d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions gxmes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,23 @@ <h1>Welcome to Vafor IT</h1>
searchgxmes();

});

var savedTabName = localStorage.getItem('tabName');
var savedTabImage = localStorage.getItem('tabImage');
if (savedTabName) document.title = savedTabName;
if (savedTabImage) {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = savedTabImage;
document.head.appendChild(link);
}

// Redirect if necessary
if (window.self === window.top && localStorage.getItem('blank2') === 'true') {
redirectToWebsite();
}
});
</script>
</body>
</html>

0 comments on commit a24dd9d

Please sign in to comment.