Re:A new spam policy for "back button hijacking"
by lamasery on Tuesday April 14, 2026 @12:06AM
(#47761118)
IIRC the Azure “portal” does this. Also likes to not record things as navigation events that really feel like they should be. Hitting back on that thing is like hitting the back button on Android, it’s the “I feel lucky” button. Anything could happen.
[ Parent
| on HN ]
Re:A new spam policy for "back button hijacking"
by PhageGenerator on Tuesday April 14, 2026 @01:22AM
(#47761568)
I think that is because some "pages" are really full screen modals. So the back button does take you back to the previous page, but it looks like you went back two pages (closes modal + goes back). I don't spend too much time in the Azure portal but this behavior is rampant in the Entra admin center.
Re:A new spam policy for "back button hijacking"
by TeMPOraL on Tuesday April 14, 2026 @04:09AM
(#47762739)
> full screen modals
Thanks. I never imagined this is a thing, it's an useful addition to my mental model of software components, to explain why back button on web behaves in weird ways for some apps.
But it sure does sound like a dumb pattern on the web.
Re:A new spam policy for "back button hijacking"
by notpushkin on Tuesday April 14, 2026 @04:58AM
(#47763045)
While we’re making sure that modals are recorded in history so that you can close them with the back button on mobile (e.g. https://svelte.dev/docs/kit/shallow-routing), MSFT can’t be bothered. But when it comes to abusing the very same history API to grab the user’s attention for a bit longer...
Re:A new spam policy for "back button hijacking"
by boomlinde on Tuesday April 14, 2026 @07:48AM
(#47764367)
Having used Azure I believe that this is the result of pure, distilled incompetence rather than malicious intent.
Re:A new spam policy for "back button hijacking"
by al_borland on Tuesday April 14, 2026 @11:55PM
(#47774532)
This maybe true, but I don’t think a company as large as Microsoft can get a pass. There is no excuse for them not being able to handle a back button properly. They are worth trillions of dollars, run some of the biggest sites on the internet, and defined much of how the web worked for an entire computing era.
They should have their feet held to the fire on this.
Re:A new spam policy for "back button hijacking"
by boomlinde on Wednesday April 15, 2026 @02:01AM
(#47775237)
Hear, hear.
I mention it not to excuse Microsoft's sins, but to the contrary to point out that malicious intent as a criteria isn't such a good idea after all, when there are such obvious cases of incompetence and malice being practically indistinguishable.