Skip to content

Commit

Permalink
code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobodycares-lo authored Aug 9, 2024
1 parent 9a1f7f8 commit 17b4188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/g.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@
</body>
<script>
addEventListener("DOMContentLoaded", (event) => {
new Ultraviolet.BareClient();
const frame = document.getElementById('frame')
const url = localStorage.getItem('url')

//read the url
frame.src = url
});
window.addEventListener("chemicalLoaded", function(e) {
new Ultraviolet.BareClient();
});
</script>
</html>

0 comments on commit 17b4188

Please sign in to comment.