Re:Inside a viral website
by runj__ on Wednesday March 31, 2021 @08:45AM
(#26646532)
So THATS why I was Rickrolled the other day...
[ Parent
| on HN ]
I'm a little confused about this point. The website had a random timer, and was then opening a tab in the background?
I thought that modern browsers required a direct user-interaction to cause a new tab to appear, such as a click. I thought this was how we got out of the pop-up hell of the 90s?
Reading some of these I think that many people have the same usage-pattern as I do, ie go to some aggregator site like HN and open a bunch of articles in one sweep and then read them.
So what happened was that the site opened in a tab, people didn't get to it immediately so when they got around to it the timer had fired and they were rickrolled.
Ah, got it, yes re-reading the tweets I see that this is what happened.
It just navigated the page itself by assigning window.location.href, which isn't subject to the same restrictions as popups.