/sorry-not-sorry

prompt legacy browsers to upgrade

Primary LanguageHTMLISC LicenseISC

sorry-not-sorry 💬

prompt legacy browsers to upgrade

sorry-not-sorry has a simple job

  1. call anything that can't handle arrow functions a 'legacy' browser (ie11)
  2. present legacy browsers with the popup which suggests they upgrade

🗲 live demo

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