01-30-2022, 11:17 PM
Theres no user-agent checking but there is a test to determine whether the Browser supports native lazy loading for images. The default is GLOBAL.nativeLazyLoad = false which results in a Javascript routine doing the image lazyload instead of the internal Browser code. Maybe the JS routine is slower???
You could try editing /var/www/js/main.min.js, search for HTMLImageElement and then add a console.log statement after the closing brace of the if block that will print the value of GLOBAL.nativeLazyLoad.
console.log(GLOBAL.nativeLazyLoad);
Code:
// Check for native lazy load support in Browser
// @bitkeeper contribution: https://github.com/moode-player/moode/pull/131
if ('loading' in HTMLImageElement.prototype) {
GLOBAL.nativeLazyLoad = true;
}
You could try editing /var/www/js/main.min.js, search for HTMLImageElement and then add a console.log statement after the closing brace of the if block that will print the value of GLOBAL.nativeLazyLoad.
console.log(GLOBAL.nativeLazyLoad);