News for hackers. Stuff that matters.
Re:Why does Google prepend while(1); to their JSON responses? by extrapickles on Saturday May 06, 2017 @12:41PM (#14281051)
There is a newish cookie flag called samesite to do exactly this. Chrome is the only browser to support it though.
Re:Why does Google prepend while(1); to their JSON responses? by kylebebak on Sunday May 07, 2017 @11:14AM (#14285830)
I read about this recently. It's hard to believe these cookies didn't exist until 2016.

The biggest problem solved by cookies has always been sessions. samesite is sufficient for most sessions. It seems like samesite should have been the default from the beginning.