redirect.html
373 字节
<script>
let url = location.href.split("?");
let params = url[1].split("&");
let data = {};
params.forEach((n, i) => {
let p = n.split("=");
data[p[0]] = p[1];
});
if (!!data.shareRedirect) {
alert(decodeURIComponent(data.shareRedirect));
window.location.href = decodeURIComponent(data.shareRedirect);
}
</script>