interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

branch main Branches Tags History

aienos.com / public / js / redirect.js

6 lines · 332 bytes Raw Blame History
1/* Redirect stubs (seo::REDIRECTS): forward to data-to, keeping any ?query
2 and #hash. Only a root-relative target is followed. */
3(() => {
4 const to = document.currentScript && document.currentScript.dataset.to;
5 if (typeof to === 'string' && /^\/(?!\/)/.test(to)) location.replace(to + location.search + location.hash);
6})();