Update src/html/index.html

This commit is contained in:
SkyHighSundae 2024-12-06 13:53:24 +00:00
parent e72bfae8e4
commit 3c32240fdc

View File

@ -337,6 +337,15 @@
<div class="input-group-text" id="xssCheckboxContainer">
<input class="form-check-input" type="checkbox" value="" id="xssCheckbox"/>
<label class="form-check-label" for="xssCheckbox">XSS</label>
<button id="heading1-button">Heading 1</button>
<script>
document.getElementById('heading1-button').addEventListener('click', function() {
var textbox = document.getElementById('chat-input');
textbox.value += '<h1></h1>';
});
</script>
</div>
<button class="btn btn-primary" type="button" id="sendChatBtn"><i class="fa-solid fa-paper-plane"></i></button>
</div>