Файловый менеджер - Редактировать - /home/digilove/public_html/media/plg_aimyspeedoptimization/loadDeferredImages.js
Назад
/* * Copyright (c) 2017-2024 Aimy Extensions, Netzum Sorglos Software GmbH * Copyright (c) 2015-2017 Aimy Extensions, Lingua-Systems Software GmbH * * License: GNU GPLv2 */ (function(specs) {var loadImages=function() {for(var si=0;si<specs.length;si++) {var spec=specs[si];var els=document.querySelectorAll(spec.sel);for(var i=0;i<els.length;i++) {if(els[i].hasAttribute('data-'+spec.attr)) {els[i].setAttribute(spec.attr,els[i].getAttribute('data-'+spec.attr));els[i].removeAttribute('data-'+spec.attr);}}}};if(typeof(window.addEventListener)!='undefined') {window.addEventListener('load',loadImages,false);} else {loadImages();}})([{sel:'source.defer',attr:'srcset'},{sel:'img.defer',attr:'srcset'},{sel:'img.defer',attr:'src'}]);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка