Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Outdated browser detection with Browserslist
Search
Salahutdinov Dmitry
March 23, 2019
Programming
1
300
Outdated browser detection with Browserslist
Check the outdated browser in the same way on both: front-end and back-end
Salahutdinov Dmitry
March 23, 2019
Tweet
Share
More Decks by Salahutdinov Dmitry
See All by Salahutdinov Dmitry
Fullstack monitoring
dsalahutdinov
0
160
Product metrics for developers
dsalahutdinov
0
60
Kubernetes-native Ruby development
dsalahutdinov
0
430
Business Impact Driven Development
dsalahutdinov
0
280
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
330
bidd.pdf
dsalahutdinov
0
250
Optimistic UI with Logux & Ruby
dsalahutdinov
0
200
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
1.7k
Other Decks in Programming
See All in Programming
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
910
CSC509 Lecture 09
javiergs
PRO
0
140
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
最新TCAキャッチアップ
0si43
0
200
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
250
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
270
受け取る人から提供する人になるということ
little_rubyist
0
250
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
360
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1k
Featured
See All Featured
Designing Experiences People Love
moore
138
23k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
How GitHub (no longer) Works
holman
310
140k
Visualization
eitanlees
145
15k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Being A Developer After 40
akosma
87
590k
Making Projects Easy
brettharned
115
5.9k
Transcript
LT: Outdated Browser Detection Dmitry Salahutdinov
Why?
None
Frontend Pareto principle 10 % Uses actual browser 90 %
10 % Old browsers 90 % Actual browsers usage Money spend for supporting browsers
None
Frontend headache
Converts rules into list of browsers
None
Mozilla/5.0 (Windows NT 10.0; rv:54.0) Gecko/20100101 Firefox/54.0 ❌ Matches UA
string with the list
Js is not supported?
Matches UA string with the list
Frontend Backend Share the only one config
Single project Frontend Backend RAILS_ROOT/browsers.json
Separated frontend
Gets back to frontend for browsers list
Gets back to frontend for browsers list
Caching the result
dziękuję #❤ @dsalahutdinov1 @dsalahutdinov https://dev.to/amplifr https://amplifr.com https://dev.to/amplifr/outdated-browser-detection-with-browserslist-10co browserslist_useragent gem