News for hackers. Stuff that matters.
Re:Delivering WordPress in 7kb by Jarwain on Thursday July 12, 2018 @08:32AM (#17513795)
If one really wanted to, couldn't they eliminate menu access from the user's history?
Re:Delivering WordPress in 7kb by jazoom on Thursday July 12, 2018 @08:50AM (#17513879)
Yes. You can use replace() instead of push().

But there are other issues like bookmarking or sharing the page with the menu open. People won't expect the result.

It's really not difficult to create an on-page menu so this seems more trouble than it's worth.

Re:Delivering WordPress in 7kb by thesumofall on Thursday July 12, 2018 @11:29AM (#17515552)
But would people really try to share / bookmark a page that at that very moment doesn't show the content they want to share?

I think it is a beautiful, simple solution that just works (and also did work perfectly in the past when we didn't have JS)

Re:Delivering WordPress in 7kb by jjeaff on Friday July 13, 2018 @02:27AM (#17520902)
Yes. If you have ever worked on a site with lots of users, you will find that if there is a way to break something, someone will absolutely do that thing. It might not be super often, but it will definitely happen.