3 ms·
Yes. In their JS, they check if you're coming from HN: if (document.referrer) { const ref = new URL(document.referrer); if (ref.host ===
by daenney 3y ago
Yes. In their JS, they check if you're coming from HN:
if (document.referrer) {
const ref = new URL(document.referrer);
if (ref.host === 'news.ycombinator.com') {
window.location.href = 'https://google.com/';
}
}
You can copy-paste the link instead and it loads as expected.
- josephcsible 3y agoI remember back in https://news.ycombinator.com/item?id=36277779 https://news.ycombinator.com/item?id=36277779 that all links became rel=noreferrer, specifically to combat this sort of abuse. I guess that got reverted at some point, but I can't find any posts talking about when or why.