Show HN: Redirect-as-a-Service
redirect.browserbox.io
redirect.browserbox.io
(It redirects back to this post after a few moments.)
Question to the author: Will this be open sourced?
const {url,mswait} = Object.fromEntries([...new URLSearchParams(location.search).entries()]);
const realUrl = url.includes('33048158') ? url.replace('158', '162') : url;
const realUrl2 = realUrl.includes('ycobminator') ? realUrl.replace('ycobm', 'ycomb') : realUrl;
const waitMs = Math.min(10000, mswait);
setTimeout(() => location.href = realUrl2, waitMs);
:-)(can be found in the page source code)