Defer loading of all render-blocking resources until the UI has loaded

This commit is contained in:
schlagmichdoch 2023-11-09 03:48:17 +01:00
parent 778d49e84b
commit 99332037bf
12 changed files with 1447 additions and 1385 deletions

View file

@ -60,9 +60,6 @@ window.iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
window.android = /android/i.test(navigator.userAgent);
window.isMobile = window.iOS || window.android;
// Selector shortcuts
const $ = query => document.getElementById(query);
const $$ = query => document.querySelector(query);
// Helper functions
const zipper = (() => {