Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Outdated browser detection with Browserslist
Search
Salahutdinov Dmitry
March 23, 2019
Programming
360
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
260
Product metrics for developers
dsalahutdinov
0
77
Kubernetes-native Ruby development
dsalahutdinov
0
500
Business Impact Driven Development
dsalahutdinov
0
390
Optimistic UI with Logux & Ruby (RubyRussia)
dsalahutdinov
0
400
bidd.pdf
dsalahutdinov
0
330
Optimistic UI with Logux & Ruby
dsalahutdinov
0
290
Optimistic UI and live updates with Logux & Ruby
dsalahutdinov
1
2k
Other Decks in Programming
See All in Programming
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
180
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.4k
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
480
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.7k
The Rails Doctrine Decade
koic
2
570
気持ちぃ〜角丸 Squircle
ryu1013
0
290
mrbgem 三角測量 開発
ogom
0
240
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Are APIs Still Relevant in the AI Era?
soyuka
0
460
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
150
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
360
Amusing Abliteration
ianozsvald
1
340
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
The SEO Collaboration Effect
kristinabergwall1
1
590
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
630
What's in a price? How to price your products and services
michaelherold
247
13k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
400
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
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