mirror of
https://github.com/hexahigh/noRef.git
synced 2025-12-11 20:15:09 +01:00
e
This commit is contained in:
parent
fad8f95109
commit
2c2e7482d6
17
index.html
Normal file
17
index.html
Normal 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
5
index.js
Normal 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)
|
||||
Loading…
x
Reference in New Issue
Block a user