mirror of
https://github.com/hexahigh/noRef.git
synced 2025-12-11 20:15:09 +01:00
5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
const currentUrl = window.location.href
|
|
|
|
var url = new URL(currentUrl);
|
|
var c = url.searchParams.get("url");
|
|
window.location.href = (c) |