This commit is contained in:
Boof 2023-08-23 14:22:40 +02:00 committed by GitHub
parent fad8f95109
commit 2c2e7482d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 1 deletions

17
index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>noRef</title>
<script src="index.js"></script>
</head>
<body>
<div style="text-align: center;">
<h2>noRef</h2>
<h4>How to use:</h4>
<p>Here is an example of a url that will redirect to example.com: "https://noref.080609.xyz?url=example.com"</p>
<p>To make it redirect to another site simply replace the "example.com" part of the url with another domain or link</p>
</div>
</body>
</html>

5
index.js Normal file
View File

@ -0,0 +1,5 @@
const currentUrl = window.location.href
var url = new URL(url_string);
var c = url.searchParams.get("url");
window.location.href = (c)

1
temp
View File

@ -1 +0,0 @@