Skip to content

Commit

Permalink
Update browse.html
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestonT500 authored Oct 25, 2023
1 parent 43a15d6 commit 7b386cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion static/browse.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@
<form id="urlForm">
<label for="targetUrl">Enter Target URL:</label>
<input type="text" id="targetUrl" name="targetUrl" required>
<button type="button" onclick="proxyUrl()">Submit</button>
<button type="submit">Submit</button>
</form>

<div id="proxyContent"></div>

<script>
document.getElementById('urlForm').addEventListener('submit', function(event) {
event.preventDefault();
proxyUrl();
});

fetch('navbar.html')
.then(response => response.text())
.then(data => {
Expand Down

1 comment on commit 7b386cd

@vercel
Copy link

@vercel vercel bot commented on 7b386cd Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.