sorry-not-sorry
v0.0.3
Published
prompt legacy browsers to upgrade
Downloads
258
Maintainers
Readme
sorry-not-sorry 💬
prompt legacy browsers to upgrade
sorry-not-sorry
has a simple job
- call anything that can't handle arrow functions a 'legacy' browser (ie11)
- present legacy browsers with the popup which suggests they upgrade
install and use sorry-not-sorry
insert a sorry-not-sorry script element on your page
<script async defer src="https://unpkg.com/sorry-not-sorry"></script>
and that's all 💪
have fun out there
👋 Chase