Random question, but does anyone get that bug in Safari on Mac where when navigating the YouTube website, sometimes you'll navigate back a page and the page won't actually change at all despite the URL updating?
Seeing it in Juno a bit (testing back button) and wondering if I can auto refresh or something to fix it if detected. The issue is the URL (and window.location) both update properly so you’d almost have to inspect the HTML itself, hmm

@christianselig I think it’s a bug with the website. However they’re managing the user’s nav history is bugged. workarounds that inspect the HTML content maybe fragile though… Tough problem.

Maybe… Leave it up to the user to choose when to refresh? But that’s no fun :/

@christianselig I’ve seen this kind of bug off and on throughout Safari across all the platforms over the past few years. Almost feels like it’s relying too much on a cache that gets corrupted, but then can’t move beyond it? Not sure.
@christianselig How do you inspect the HTML? I thought the web view was a black box?
@caleb WKWebView shows the HTML fine, it's basically a web browser
Okay that wasn't too bad, wrote a little thing into Juno's new back button functionality that checks if the resulting page's HTML is different than what would be expected for the URL, and if so manually refreshes for you. I want this on desktop 😛
@christianselig You are the genius we all deserve. Always amazed by your work.
@christianselig Does it also check if the videos mismatch? Watch video 1, go to video 2, go back, it still shows video 2. It had that happen numerous times.
@forst Doesn't really apply in Juno
@christianselig is that the thing which makes you do Juno for macOS? 😅
@christianselig I've had this on Firefox too (Windows and Linux), always assumed it was a YouTube bug!
@christianselig Yes, but not only YouTube. It’s sites that try to manually manage browser history entries in general that can do it.
@christianselig Not just a YouTube issue. Swipe back in Safari has been somewhat broken for a while now. Exact same behavior as you noted.
@christianselig All the time, but I think it happens also on firefox for me
@christianselig various websites for me. Not just YouTube. Has been happening randomly for years. Very irritating.
@christianselig ironically, I get this in Reddit a lot in Safari. I'll go to a post to read comments and when I swipe back, it looks like it goes back to the main page but it stays on the page for the post / comments. And like you're describing, the URL changes.
@dustinsvehlak @christianselig Oh yeah. I mostly have to press back twice on Reddit to make it actually do that.
@christianselig I’ve had this happen quite a bit in the past month or two. It’s definitely not specific to YouTube, and it happens on iOS as well. Sometimes I don’t notice the URL being wrong but the history is still broken and I can’t go back to the page I started at. Super frustrating.
@robotspacer @christianselig yes! Experienced it a lot on ipadOS. Stopped (reduced?) recently, but was multiple times a day.
@grork @christianselig Yeah, I should have been specific, iPad is where I've noticed it as well. My experience has been similar—it was happening multiple times a day, seems better now, but I noticed it again in the past week or so.
@christianselig yes I have had this happen a lot, not on the arc browser though (chromium) so that might have something to do with it
@christianselig Yes, and not only for YouTube!
@christianselig Yeah quite often… I think youtube is nearly unusable using safari :(

@christianselig I think maybe? But frequently once in a YouTube page, I am moving forward to more YouTube vids within that page or opening the YouTube app.

There are numerous ways web pages can prevent navigating back a page, or to a previous app, by accident or design. If they hang or trap me, I close them, they are gone.

@christianselig yes, it’s super frustrating, but I don’t know how to reproduce it consistently.
@christianselig Safari on Mac, very often. Gets quite annoying.
Another one of those "did you really need to mess with JavaScript? it would've worked just fine without it, you know" :/ So many modern websites ruined
@christianselig Yup. That’s Google rewriting the URL, IIRC. One of the great legacies of Web 2.0 that just won’t die.
@christianselig only seems to happen to me when viewing shorts from the homepage, but it does happen regularly.
@christianselig this happens to me every single time but on a google search. I swipe back to get back to the search page and it never gets there. I have to close the tab and then retry the search again. It’s been like that for at least two years now.
@christianselig happens to me on every website. Been happening at least since Mojave came out, possibly even earlier
@christianselig This is super annoying, and not only happens on YouTube, but even for duckduckgo results page, when I try to go back…