mirror of
https://github.com/hexahigh/noRef.git
synced 2025-12-11 20:15:09 +01:00
fixed?
This commit is contained in:
parent
a313bfb8eb
commit
9c006ce778
6
index.js
6
index.js
@ -2,4 +2,8 @@ const currentUrl = window.location.href
|
|||||||
|
|
||||||
var url = new URL(currentUrl);
|
var url = new URL(currentUrl);
|
||||||
var c = url.searchParams.get("url");
|
var c = url.searchParams.get("url");
|
||||||
window.location.href = (c)
|
|
||||||
|
// Check that there is something there otherwhise it will get stuck in a loop
|
||||||
|
if(c) {
|
||||||
|
window.location.href = (c)
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user