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
350
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Salahutdinov Dmitry
See All by Salahutdinov Dmitry
Fullstack monitoring
dsalahutdinov
0
250
Product metrics for developers
dsalahutdinov
0
75
Kubernetes-native Ruby development
dsalahutdinov
0
490
Business Impact Driven Development
dsalahutdinov
0
380
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
390
bidd.pdf
dsalahutdinov
0
310
Optimistic UI with Logux & Ruby
dsalahutdinov
0
280
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
2k
Other Decks in Programming
See All in Programming
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
数百円から始めるRuby電子工作
tarosay
0
130
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
210
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
440
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
660
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
170
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
130
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
660
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
650
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
1
120
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
150
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
400
Site-Speed That Sticks
csswizardry
13
1.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
How GitHub (no longer) Works
holman
316
150k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Documentation Writing (for coders)
carmenintech
77
5.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
400
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
The Language of Interfaces
destraynor
162
27k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
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