Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions INSPECT ELEMENT TOOL HTML
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Inspect Element Tool</title>
<script>
function viewCode() {
const url = document.getElementById('urlInput').value;
fetch(url)
.then(response => response.text())
.then(data => {
document.getElementById('htmlOutput').textContent = data;
document.getElementById('powershellOutput').textContent = "PowerShell command placeholder";
})
.catch(error => {
document.getElementById('htmlOutput').textContent = "Error fetching the URL.";
});
}
</script>
</head>
<body>
<h1>Inspect Element Tool</h1>
<input type="text" id="urlInput" placeholder="Enter URL here" />
<button onclick="viewCode()">View</button>
<h2>HTML Code:</h2>
<pre id="htmlOutput"></pre>
<h2>PowerShell Code:</h2>
<pre id="powershellOutput"></pre>
</body>
</html>