victorwesterlund.com/public/assets/js/nomodule.js
Victor Westerlund e47a0229f9 Compartmentalized and updated assets
- NETWATCH 404 pages removed - time for something new
- Compartmentalized CSS fonts and JS script files
- Streamlined cache manifest for ServiceWorker
- Added AVIF images, replaced PNG fallback with WebP fallback
- Changed favicon color
2021-06-03 10:59:43 +02:00

7 lines
238 B
JavaScript

// Promote IE to Edge
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
window.location = 'microsoft-edge:' + window.location;
setTimeout(function() {
window.location = 'https://go.microsoft.com/fwlink/?linkid=2135547';
},1);
}