PluginProbe ʕ •ᴥ•ʔ
10Web Booster – Website speed optimization, Cache & Page Speed optimizer / 2.33.6
10Web Booster – Website speed optimization, Cache & Page Speed optimizer v2.33.6
2.33.6 2.33.5 2.33.0 2.30.5 2.30.7 2.30.9 2.31.10 2.31.8 2.32.11 2.32.21 2.32.3 2.32.4 2.32.7 2.6.31 2.6.40 2.6.42 2.6.7 2.7.37 2.7.44 2.7.47 2.8.18 2.8.19 2.8.32 2.8.34 2.8.35 2.9.23 2.9.24 2.9.25 2.9.27 v2.27.4 trunk 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.17 2.0.18 2.0.21 2.0.22 2.0.25 2.0.26 2.0.27 2.0.3 2.0.7 2.0.9 2.10.46 2.10.65 2.10.66 2.10.68 2.11.41 2.11.42 2.11.43 2.12.15 2.12.21 2.12.22 2.12.23 2.12.26 2.13.37 2.13.40 2.13.41 2.13.42 2.13.44 2.13.45 2.13.47 2.14.49 2.14.50 2.15.18 2.17.21 2.17.23 2.18.17 2.19.44 2.19.45 2.19.46 2.19.49 2.2.12 2.2.15 2.2.16 2.2.18 2.2.8 2.20.31 2.20.32 2.20.33 2.21.11 2.21.12 2.21.16 2.21.25 2.22.32 2.23.13 2.23.15 2.23.16 2.23.18 2.24.12 2.24.14 2.24.18 2.25.14 2.26.6 2.28.10 2.28.13 2.28.14 2.28.7 2.29.1 2.29.2 2.29.3 2.3.0 2.3.1 2.3.2 2.3.3 2.30.18
tenweb-speed-optimizer / includes / external / js / two_lazyload.js
tenweb-speed-optimizer / includes / external / js Last commit date
vanilla-lazyload 4 months ago jquery.lazy.av.min.js 4 years ago jquery.lazy.iframe.min.js 4 years ago jquery.lazy.js 3 years ago jquery.lazy.min.js 3 years ago lazyload.min.js 4 years ago loader.js 1 week ago two_delay.js 1 week ago two_elementor_video_to_iframe.js 4 years ago two_lazyload.js 3 years ago two_merge_google_font_faces.js 3 years ago two_worker.js 2 years ago two_yt_vi_lazyload.js 3 years ago two_yt_vi_lazyload.min.js 3 years ago
two_lazyload.js
46 lines
1 jQuery("document").ready(function () {
2 jQuery("*:not('br, hr, iframe, pre')").each(function () {
3 let bg_image_data = get_bg_images(this);
4 if (bg_image_data) {
5 jQuery(this).addClass("two_bg");
6 jQuery(this).attr("data-src", bg_image_data['first_bg_image']);
7 jQuery(this).attr("data-full-bg-image", bg_image_data['bg_image_property']);
8 jQuery(this).on('visibility', function () {
9 var $element = jQuery(this);
10 setInterval(function () {
11 jQuery('.two_bg').Lazy({
12 visibleOnly: true,
13 });
14 }, 300);
15 }).trigger('visibility');
16 }
17 });
18
19 jQuery('.two_bg').Lazy({
20 visibleOnly: true,
21 });
22
23 function get_bg_images(elem) {
24 let style = elem.currentStyle || window.getComputedStyle(elem, false);
25 let bg_image = style.backgroundImage;
26
27 if (bg_image === 'none' || bg_image.indexOf(window['two_svg_placeholder']) === -1) {
28 return;
29 }
30
31 bg_image = bg_image.replace(window['two_svg_placeholder'], "");
32 if (!bg_image) {
33 return;
34 }
35
36 let first_bg_image = bg_image.slice(5, bg_image.length).split('")')[0];
37 return {
38 "first_bg_image": first_bg_image,
39 "bg_image_property": bg_image
40 }
41
42 }
43
44 });
45
46