Skip to content

Commit

Permalink
Add dialogue to new version of the tool
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-nexus authored Aug 12, 2023
1 parent a6bca2e commit 14eea3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,15 @@ <h5 class="modal-title" id="help-a2hs-label">Adding Podcastify to Home Screen</h
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script src="tts.js"></script>
<script src="nosleep.js"></script>
<script>
setTimeout(() => {
const newURL = "https://yakshag.github.io/listen/"
const result = confirm("There's a new version of this tool. Would you like to use that?");
if (result) {
window.location.assign = newURL;
window.open(newURL, "_top")
}
}, 1000);
</script>
</body>
</html>

0 comments on commit 14eea3b

Please sign in to comment.