Skip to content

Commit

Permalink
Adding popout web term?
Browse files Browse the repository at this point in the history
  • Loading branch information
terryvalladon committed Jun 4, 2024
1 parent 75e62f4 commit 7eb3e44
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## A public social role-playing server.

[Connect via Web Terminal](https://webterm.astralen.quest)
[Connect Using Popout Web Terminal](# "openPopup")

<script>
console.log('Testing javascript in markdown...')
</script>


<script> document.addEventListener("DOMContentLoaded", function() { var link = document.querySelector('a[href="#"][title="openPopup"]'); if (link) { link.addEventListener("click", function(event) { event.preventDefault(); openPopup(); }); } }); function openPopup() { var url = "https://webterm.astralen.quest"; var width = 800; var height = 600; var options = "toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=" + width + ", height=" + height; window.open(url, "_blank", options); } </script>

0 comments on commit 7eb3e44

Please sign in to comment.