@gwidion@FreyaHolmer what websites or javascript frameworks released or otherwise updated after 2000 do you use regularly that relies on this behavior? because as far as i know, this is not a feature that most web developers are even aware of
@_Kinez_@FreyaHolmer and before some smart ass walks in with <div id=window></div><div id=self></div><div id=parent></div> to hashtag own the libs; (a) we have globalThis (or this on global scope for people who cant comprehend how to client-side javascript), and (b) it doesnt even work:
@gwidion@FreyaHolmer more like it'll break 90% of ancient js websites which havent already been broken in the 2000s or '10s, and maybe 1% of modern websites which knew about this trick already to save at least 27 characters per equivalent `document.getElementById('{id}')` call for minimization
@antumbral@FreyaHolmer iirc it was added in IE4 for its proprietary document.all API b/c DOM Level 1 hadn't yet been standardized or implemented; NS4 used the even more convoluted document.layers, modeled on their earlier DOM 0 APIs for things like images, forms, etc, which didnt work that way
@njh2005@metzgov@AudreyFahlberg@cspan what a loser take; thanks bro i too would like to not see even the slightest bit of accountability from the government