News for hackers. Stuff that matters.
Re:You can bypass YouTube ads by adding a dot after the domain by pizza on Wednesday June 10, 2020 @04:36PM (#23481782)
Interestingly, if I go to news.ycombinator.com., I get the logged out version of the site. Probably because my browser treats it as a different site entirely
Re:You can bypass YouTube ads by adding a dot after the domain by jakub_g on Wednesday June 10, 2020 @04:43PM (#23481858)
It's technically a different domain. HN cookie is created for a domain without dot at the end, so there's no match when you open a domain with the dot.

In the same way, if a website does not do www->nowww / nowww->www redirect (example.com / www.example.com), you might have www version be logged in and nowww version be logged out or vice versa (depending how exactly it creates its cookies).