Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
stop68025yIf you look at Useragents, you see history of browsers itself. It was at a time they now call the browserwars, where features where developed we today use or were forgotten. Websites were exclusive written for a browser and every browser wanted better features nobody had and all the features of others. Javascript was developed to integrate java-apps into the DOM and Web2.0 (non-static content) was the hot shit.
-
Azuryu35y@stop I remember the time when websites were build with framesets and you could style the scrollbar in IE. Though neither me nor my colleague started their careers in these times, today browser sniffing rarely is necessary because you can get the job done with feature detection only (especially if you only need to look at current browser versions). In this case hiding a button was necessary, which could've done via detecting if the browser can play the WebM video format. If sniffing is still preferred, which is used a lot by them, I'd expect them to do it right.
-
@stop That's what I'm doing with images because retarded pieces of shit like Safari and IE can't display WebP. Only that IE isn't actually retarded in this regard, just obsolete. The picture element solves this neatly.
Related Rants
My colleague:
Working in this job double as long as me.
Also my colleague:
isSafari = navigator.userAgent.indexOf("Safari") > -1 (pro tip: almost any browser but Firefox contains Safari in it's user agent, because browsers lie)
Also wasn't able to check if autoplaying a video fails. It's not my primary department, I'm just helping fixing bugs there. They really need an employee with knowledge and experience. The last and only one got fired, so...
rant
webdev
browsers
ads