Skip to content

Instantly share code, notes, and snippets.

@afkvido
Last active February 28, 2023 21:13
Show Gist options
  • Save afkvido/f0ed523400e1e65d0a08a298ef902a72 to your computer and use it in GitHub Desktop.
Save afkvido/f0ed523400e1e65d0a08a298ef902a72 to your computer and use it in GitHub Desktop.
Load SweetAlert2 Neutral into the current webpage.
(async()=>{if(window.Swal){return}eval(await(await fetch("https://cdn.jsdelivr.net/npm/sweetalert2-neutral@latest/dist/sweetalert2.all.min.js")).text())})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment