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
270
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
140
Product metrics for developers
dsalahutdinov
0
48
Kubernetes-native Ruby development
dsalahutdinov
0
420
Business Impact Driven Development
dsalahutdinov
0
260
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
320
bidd.pdf
dsalahutdinov
0
240
Optimistic UI with Logux & Ruby
dsalahutdinov
0
180
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
1.5k
Other Decks in Programming
See All in Programming
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
170
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
460
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
雑に思考を整理する技術と効能
konifar
55
25k
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
100
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
240
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
110
try! Swift Tokyo 初参加報告LT
hinakko2
0
190
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
8
2.1k
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
元気予報
suu_mire0726
0
850
Featured
See All Featured
Building Adaptive Systems
keathley
30
1.8k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Designing the Hi-DPI Web
ddemaree
276
33k
Writing Fast Ruby
sferik
620
60k
Web development in the modern age
philhawksworth
202
10k
StorybookのUI Testing Handbookを読んだ
zakiyama
11
4.6k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Visualization
eitanlees
135
14k
Facilitating Awesome Meetings
lara
41
5.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
321
20k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
Music & Morning Musume
bryan
41
5.6k
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