Update src/html/index.html
This commit is contained in:
parent
e72bfae8e4
commit
3c32240fdc
|
|
@ -337,6 +337,15 @@
|
||||||
<div class="input-group-text" id="xssCheckboxContainer">
|
<div class="input-group-text" id="xssCheckboxContainer">
|
||||||
<input class="form-check-input" type="checkbox" value="" id="xssCheckbox"/>
|
<input class="form-check-input" type="checkbox" value="" id="xssCheckbox"/>
|
||||||
<label class="form-check-label" for="xssCheckbox">XSS</label>
|
<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>
|
</div>
|
||||||
<button class="btn btn-primary" type="button" id="sendChatBtn"><i class="fa-solid fa-paper-plane"></i></button>
|
<button class="btn btn-primary" type="button" id="sendChatBtn"><i class="fa-solid fa-paper-plane"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user