Speed Booster Pack - Version 3.8.4.3

Version Description

Release Date: 11 November 2019

  • Tested with WordPress 5.3.
  • Updated: Updated instant.page to 3.0.0.
  • Updated: Updated lazyload.js to 12.3.0.
  • Changed the title of the plugin, and truncated the description.
Download this release

Release Info

Developer optimocha
Plugin Icon 128x128 Speed Booster Pack
Version 3.8.4.3
Comparing to
See all releases

Code changes from version 3.8.4.2 to 3.8.4.3

Files changed (4) hide show
  1. inc/js/inspage.js +2 -172
  2. inc/js/lazyload.js +2 -2
  3. readme.txt +17 -6
  4. speed-booster-pack.php +3 -3
inc/js/inspage.js CHANGED
@@ -1,172 +1,2 @@
1
- /*! instant.page v2.0.0 - (C) 2019 Alexandre Dieulot - https://instant.page/license */
2
-
3
- let urlToPreload
4
- let mouseoverTimer
5
- let lastTouchTimestamp
6
-
7
- const prefetcher = document.createElement('link')
8
- const isSupported = prefetcher.relList && prefetcher.relList.supports && prefetcher.relList.supports('prefetch')
9
- const isDataSaverEnabled = navigator.connection && navigator.connection.saveData
10
- const allowQueryString = 'instantAllowQueryString' in document.body.dataset
11
- const allowExternalLinks = 'instantAllowExternalLinks' in document.body.dataset
12
- const useWhitelist = 'instantWhitelist' in document.body.dataset
13
-
14
- let delayOnHover = 65
15
- let useMousedown = false
16
- let useMousedownOnly = false
17
- if ('instantIntensity' in document.body.dataset) {
18
- if (document.body.dataset.instantIntensity.substr(0, 'mousedown'.length) == 'mousedown') {
19
- useMousedown = true
20
- if (document.body.dataset.instantIntensity == 'mousedown-only') {
21
- useMousedownOnly = true
22
- }
23
- }
24
- else {
25
- const milliseconds = parseInt(document.body.dataset.instantIntensity)
26
- if (milliseconds != NaN) {
27
- delayOnHover = milliseconds
28
- }
29
- }
30
- }
31
-
32
- if (isSupported && !isDataSaverEnabled) {
33
- prefetcher.rel = 'prefetch'
34
- document.head.appendChild(prefetcher)
35
-
36
- const eventListenersOptions = {
37
- capture: true,
38
- passive: true,
39
- }
40
-
41
- if (!useMousedownOnly) {
42
- document.addEventListener('touchstart', touchstartListener, eventListenersOptions)
43
- }
44
-
45
- if (!useMousedown) {
46
- document.addEventListener('mouseover', mouseoverListener, eventListenersOptions)
47
- }
48
- else {
49
- document.addEventListener('mousedown', mousedownListener, eventListenersOptions)
50
- }
51
- }
52
-
53
- function touchstartListener(event) {
54
- /* Chrome on Android calls mouseover before touchcancel so `lastTouchTimestamp`
55
- * must be assigned on touchstart to be measured on mouseover. */
56
- lastTouchTimestamp = performance.now()
57
-
58
- const linkElement = event.target.closest('a')
59
-
60
- if (!isPreloadable(linkElement)) {
61
- return
62
- }
63
-
64
- linkElement.addEventListener('touchcancel', touchendAndTouchcancelListener, {passive: true})
65
- linkElement.addEventListener('touchend', touchendAndTouchcancelListener, {passive: true})
66
-
67
- urlToPreload = linkElement.href
68
- preload(linkElement.href)
69
- }
70
-
71
- function touchendAndTouchcancelListener() {
72
- urlToPreload = undefined
73
- stopPreloading()
74
- }
75
-
76
- function mouseoverListener(event) {
77
- if (performance.now() - lastTouchTimestamp < 1100) {
78
- return
79
- }
80
-
81
- const linkElement = event.target.closest('a')
82
-
83
- if (!isPreloadable(linkElement)) {
84
- return
85
- }
86
-
87
- linkElement.addEventListener('mouseout', mouseoutListener, {passive: true})
88
-
89
- urlToPreload = linkElement.href
90
-
91
- mouseoverTimer = setTimeout(() => {
92
- preload(linkElement.href)
93
- mouseoverTimer = undefined
94
- }, delayOnHover)
95
- }
96
-
97
- function mousedownListener(event) {
98
- const linkElement = event.target.closest('a')
99
-
100
- if (!isPreloadable(linkElement)) {
101
- return
102
- }
103
-
104
- linkElement.addEventListener('mouseout', mouseoutListener, {passive: true})
105
-
106
- urlToPreload = linkElement.href
107
-
108
- preload(linkElement.href)
109
- }
110
-
111
- function mouseoutListener(event) {
112
- if (event.relatedTarget && event.target.closest('a') == event.relatedTarget.closest('a')) {
113
- return
114
- }
115
-
116
- if (mouseoverTimer) {
117
- clearTimeout(mouseoverTimer)
118
- mouseoverTimer = undefined
119
- }
120
-
121
- urlToPreload = undefined
122
-
123
- stopPreloading()
124
- }
125
-
126
- function isPreloadable(linkElement) {
127
- if (!linkElement || !linkElement.href) {
128
- return
129
- }
130
-
131
- if (urlToPreload == linkElement.href) {
132
- return
133
- }
134
-
135
- if (useWhitelist && !('instant' in linkElement.dataset)) {
136
- return
137
- }
138
-
139
- if (!allowExternalLinks && linkElement.origin != location.origin && !('instant' in linkElement.dataset)) {
140
- return
141
- }
142
-
143
- if (!['http:', 'https:'].includes(linkElement.protocol)) {
144
- return
145
- }
146
-
147
- if (linkElement.protocol == 'http:' && location.protocol == 'https:') {
148
- return
149
- }
150
-
151
- if (!allowQueryString && linkElement.search && !('instant' in linkElement.dataset)) {
152
- return
153
- }
154
-
155
- if (linkElement.hash && linkElement.pathname + linkElement.search == location.pathname + location.search) {
156
- return
157
- }
158
-
159
- if ('noInstant' in linkElement.dataset) {
160
- return
161
- }
162
-
163
- return true
164
- }
165
-
166
- function preload(url) {
167
- prefetcher.href = url
168
- }
169
-
170
- function stopPreloading() {
171
- prefetcher.removeAttribute('href')
172
- }
1
+ /*! instant.page v3.0.0 - (C) 2019 Alexandre Dieulot - https://instant.page/license */
2
+ let t,e;const n=new Set,o=document.createElement("link"),s=o.relList&&o.relList.supports&&o.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype,i="instantAllowQueryString"in document.body.dataset,r="instantAllowExternalLinks"in document.body.dataset,a="instantWhitelist"in document.body.dataset;let c=65,d=!1,l=!1,u=!1;if("instantIntensity"in document.body.dataset){const t=document.body.dataset.instantIntensity;if("mousedown"==t.substr(0,"mousedown".length))d=!0,"mousedown-only"==t&&(l=!0);else if("viewport"==t.substr(0,"viewport".length))navigator.connection&&(navigator.connection.saveData||navigator.connection.effectiveType.includes("2g"))||("viewport"==t?document.documentElement.clientWidth*document.documentElement.clientHeight<45e4&&(u=!0):"viewport-all"==t&&(u=!0));else{const e=parseInt(t);isNaN(e)||(c=e)}}if(s){const n={capture:!0,passive:!0};if(l||document.addEventListener("touchstart",function(t){e=performance.now();const n=t.target.closest("a");if(!f(n))return;h(n.href)},n),d?document.addEventListener("mousedown",function(t){const e=t.target.closest("a");if(!f(e))return;h(e.href)},n):document.addEventListener("mouseover",function(n){if(performance.now()-e<1100)return;const o=n.target.closest("a");if(!f(o))return;o.addEventListener("mouseout",m,{passive:!0}),t=setTimeout(()=>{h(o.href),t=void 0},c)},n),u){let t;(t=window.requestIdleCallback?t=>{requestIdleCallback(t,{timeout:1500})}:t=>{t()})(()=>{const t=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){const n=e.target;t.unobserve(n),h(n.href)}})});document.querySelectorAll("a").forEach(e=>{f(e)&&t.observe(e)})})}}function m(e){e.relatedTarget&&e.target.closest("a")==e.relatedTarget.closest("a")||t&&(clearTimeout(t),t=void 0)}function f(t){if(t&&t.href&&(!a||"instant"in t.dataset)&&(r||t.origin==location.origin||"instant"in t.dataset)&&["http:","https:"].includes(t.protocol)&&("http:"!=t.protocol||"https:"!=location.protocol)&&(i||!t.search||"instant"in t.dataset)&&!(t.hash&&t.pathname+t.search==location.pathname+location.search||"noInstant"in t.dataset))return!0}function h(t){if(n.has(t))return;const e=document.createElement("link");e.rel="prefetch",e.href=t,document.head.appendChild(e),n.add(t)}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/js/lazyload.js CHANGED
@@ -1,5 +1,5 @@
1
- /* lazyload.js - v12.1
2
  * https://github.com/verlok/lazyload
3
  * Copyright (c) 2019 Andrea Verlicchi; Licensed MIT */
4
- function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=t&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&"isIntersecting"in window.IntersectionObserverEntry.prototype,o=t&&"classList"in document.createElement("p"),r={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},i=function(t,e){var n,o=new t(e);try{n=new CustomEvent("LazyLoad::Initialized",{detail:{instance:o}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:o})}window.dispatchEvent(n)};var a=function(t,e){return t.getAttribute("data-"+e)},s=function(t,e,n){var o="data-"+e;null!==n?t.setAttribute(o,n):t.removeAttribute(o)},c=function(t){return"true"===a(t,"was-processed")},l=function(t,e){return s(t,"ll-timeout",e)},u=function(t){return a(t,"ll-timeout")},d=function(t,e){t&&t(e)},f=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&d(t._settings.callback_finish)},_=function(t){for(var e,n=[],o=0;e=t.children[o];o+=1)"SOURCE"===e.tagName&&n.push(e);return n},v=function(t,e,n){n&&t.setAttribute(e,n)},g=function(t,e){v(t,"sizes",a(t,e.data_sizes)),v(t,"srcset",a(t,e.data_srcset)),v(t,"src",a(t,e.data_src))},b={IMG:function(t,e){var n=t.parentNode;n&&"PICTURE"===n.tagName&&_(n).forEach(function(t){g(t,e)});g(t,e)},IFRAME:function(t,e){v(t,"src",a(t,e.data_src))},VIDEO:function(t,e){_(t).forEach(function(t){v(t,"src",a(t,e.data_src))}),v(t,"src",a(t,e.data_src)),t.load()}},m=function(t,e){var n,o,r=e._settings,i=t.tagName,s=b[i];if(s)return s(t,r),f(e,1),void(e._elements=(n=e._elements,o=t,n.filter(function(t){return t!==o})));!function(t,e){var n=a(t,e.data_src),o=a(t,e.data_bg);n&&(t.style.backgroundImage='url("'.concat(n,'")')),o&&(t.style.backgroundImage=o)}(t,r)},h=function(t,e){o?t.classList.add(e):t.className+=(t.className?" ":"")+e},p=function(t,e,n){t.addEventListener(e,n)},y=function(t,e,n){t.removeEventListener(e,n)},E=function(t,e,n){y(t,"load",e),y(t,"loadeddata",e),y(t,"error",n)},w=function(t,e,n){var r=n._settings,i=e?r.class_loaded:r.class_error,a=e?r.callback_loaded:r.callback_error,s=t.target;!function(t,e){o?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}(s,r.class_loading),h(s,i),d(a,s),f(n,-1)},I=function(t,e){var n=function n(r){w(r,!0,e),E(t,n,o)},o=function o(r){w(r,!1,e),E(t,n,o)};!function(t,e,n){p(t,"load",e),p(t,"loadeddata",e),p(t,"error",n)}(t,n,o)},k=["IMG","IFRAME","VIDEO"],O=function(t,e){var n=e._observer;x(t,e),n&&e._settings.auto_unobserve&&n.unobserve(t)},A=function(t){var e=u(t);e&&(clearTimeout(e),l(t,null))},L=function(t,e){var n=e._settings.load_delay,o=u(t);o||(o=setTimeout(function(){O(t,e),A(t)},n),l(t,o))},x=function(t,e,n){var o=e._settings;!n&&c(t)||(k.indexOf(t.tagName)>-1&&(I(t,e),h(t,o.class_loading)),m(t,e),function(t){s(t,"was-processed","true")}(t),d(o.callback_reveal,t),d(o.callback_set,t))},z=function(t){return!!n&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?L(t,e):O(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&A(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},N=["IMG","IFRAME"],C=function(t,e){return function(t){return t.filter(function(t){return!c(t)})}((n=t||function(t){return t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var n},M=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingCount=0,z(this),this.update(e)};return M.prototype={update:function(t){var n,o=this,r=this._settings;(this._elements=C(t,r),!e&&this._observer)?(function(t){return t.use_native&&"loading"in HTMLImageElement.prototype}(r)&&((n=this)._elements.forEach(function(t){-1!==N.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),x(t,n))}),this._elements=C(t,r)),this._elements.forEach(function(t){o._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){x(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){O(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)i(t,n);else i(t,e)}(M,window.lazyLoadOptions),M});
5
  //# sourceMappingURL=lazyload.min.js.map
1
+ /* lazyload.js - v12.3.0
2
  * https://github.com/verlok/lazyload
3
  * Copyright (c) 2019 Andrea Verlicchi; Licensed MIT */
4
+ function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.LazyLoad=e()}(this,function(){"use strict";var t="undefined"!=typeof window,e=t&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=t&&"IntersectionObserver"in window,r=t&&"classList"in document.createElement("p"),o={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},a=function(t,e){var n,r=new t(e);try{n=new CustomEvent("LazyLoad::Initialized",{detail:{instance:r}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:r})}window.dispatchEvent(n)};var i=function(t,e){return t.getAttribute("data-"+e)},s=function(t,e,n){var r="data-"+e;null!==n?t.setAttribute(r,n):t.removeAttribute(r)},c=function(t){return"true"===i(t,"was-processed")},l=function(t,e){return s(t,"ll-timeout",e)},u=function(t){return i(t,"ll-timeout")},d=function(t,e,n,r){t&&(void 0===r?void 0===n?t(e):t(e,n):t(e,n,r))},f=function(t,e){t._loadingCount+=e,0===t._elements.length&&0===t._loadingCount&&d(t._settings.callback_finish,t)},_=function(t){for(var e,n=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&n.push(e);return n},v=function(t,e,n){n&&t.setAttribute(e,n)},b=function(t,e){v(t,"sizes",i(t,e.data_sizes)),v(t,"srcset",i(t,e.data_srcset)),v(t,"src",i(t,e.data_src))},m={IMG:function(t,e){var n=t.parentNode;n&&"PICTURE"===n.tagName&&_(n).forEach(function(t){b(t,e)});b(t,e)},IFRAME:function(t,e){v(t,"src",i(t,e.data_src))},VIDEO:function(t,e){_(t).forEach(function(t){v(t,"src",i(t,e.data_src))}),v(t,"src",i(t,e.data_src)),t.load()}},g=function(t,e){var n,r,o=e._settings,a=t.tagName,s=m[a];if(s)return s(t,o),f(e,1),void(e._elements=(n=e._elements,r=t,n.filter(function(t){return t!==r})));!function(t,e){var n=i(t,e.data_src),r=i(t,e.data_bg);n&&(t.style.backgroundImage='url("'.concat(n,'")')),r&&(t.style.backgroundImage=r)}(t,o)},y=function(t,e){r?t.classList.add(e):t.className+=(t.className?" ":"")+e},h=function(t,e){r?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},p=function(t,e,n){t.addEventListener(e,n)},E=function(t,e,n){t.removeEventListener(e,n)},w=function(t,e,n){E(t,"load",e),E(t,"loadeddata",e),E(t,"error",n)},A=function(t,e,n){var r=n._settings,o=e?r.class_loaded:r.class_error,a=e?r.callback_loaded:r.callback_error,i=t.target;h(i,r.class_loading),y(i,o),d(a,i,n),f(n,-1)},I=function(t,e){var n=function n(o){A(o,!0,e),w(t,n,r)},r=function r(o){A(o,!1,e),w(t,n,r)};!function(t,e,n){p(t,"load",e),p(t,"loadeddata",e),p(t,"error",n)}(t,n,r)},k=["IMG","IFRAME","VIDEO"],L=function(t,e){var n=e._observer;S(t,e),n&&e._settings.auto_unobserve&&n.unobserve(t)},O=function(t){var e=u(t);e&&(clearTimeout(e),l(t,null))},x=function(t,e){var n=e._settings.load_delay,r=u(t);r||(r=setTimeout(function(){L(t,e),O(t)},n),l(t,r))},S=function(t,e,n){var r=e._settings;!n&&c(t)||(k.indexOf(t.tagName)>-1&&(I(t,e),y(t,r.class_loading)),g(t,e),function(t){s(t,"was-processed","true")}(t),d(r.callback_reveal,t,e),d(r.callback_set,t,e))},z=function(t){return!!n&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e,n){var r=n._settings;d(r.callback_enter,t,e,n),r.load_delay?x(t,n):L(t,n)}(e.target,e,t):function(t,e,n){var r=n._settings;d(r.callback_exit,t,e,n),r.load_delay&&O(t)}(e.target,e,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}),!0);var e},C=["IMG","IFRAME"],N=function(t,e){return function(t){return t.filter(function(t){return!c(t)})}((n=t||function(t){return t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var n},M=function(t){var e=t._settings;_toConsumableArray(e.container.querySelectorAll("."+e.class_error)).forEach(function(t){h(t,e.class_error),function(t){s(t,"was-processed",null)}(t)}),t.update()},R=function(e,n){var r;this._settings=function(t){return _extends({},o,t)}(e),this._loadingCount=0,z(this),this.update(n),r=this,t&&window.addEventListener("online",function(t){M(r)})};return R.prototype={update:function(t){var n,r=this,o=this._settings;(this._elements=N(t,o),!e&&this._observer)?(function(t){return t.use_native&&"loading"in HTMLImageElement.prototype}(o)&&((n=this)._elements.forEach(function(t){-1!==C.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),S(t,n))}),this._elements=N(t,o)),this._elements.forEach(function(t){r._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){S(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){L(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,r=0;n=e[r];r+=1)a(t,n);else a(t,e)}(R,window.lazyLoadOptions),R});
5
  //# sourceMappingURL=lazyload.min.js.map
readme.txt CHANGED
@@ -1,15 +1,15 @@
1
- === Speed Booster Pack: Easy Performance & PageSpeed Optimization ===
2
- Plugin Name: Speed Booster Pack: Easy Performance & PageSpeed Optimization
3
  Contributors: optimocha
4
- Tags: speed, performance, javascript optimization, css optimization, google pagespeed
5
  Requires at least: 4.6
6
- Tested up to: 5.2.1
7
  Requires PHP: 5.6
8
- Stable tag: 3.8.4.2
9
  License: GPLv3 or later
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
12
- Speed optimization is crucial for SEO. And Speed Booster Pack is the easiest way to improve website performance. Get better PageSpeed scores today!
13
 
14
  == Description ==
15
 
@@ -68,6 +68,8 @@ Even though the plugin works perfectly well on most WordPress websites, it's not
68
 
69
  == Frequently Asked Questions ==
70
 
 
 
71
  = This plugin broke my site! =
72
 
73
  It's possible that the theme or your plugins might be using some old code that isn't compatible with Speed Booster Pack's code. If that's the case, try disabling some features in the Advanced tab. If that doesn't work, try deactivating the plugin and clear your browser & server caches. If that does the trick, reach out to us so we can help you. If the site is *still* broken, though, there's obviously another reason for your site breaking because everything Speed Booster Pack does, it does it on-the-fly. Deactivating the plugin (and clearing your caches) will make everything go away.
@@ -93,6 +95,15 @@ All the time! We're always looking for new ways to get this plugin to a better s
93
 
94
  == Changelog ==
95
 
 
 
 
 
 
 
 
 
 
96
  = 3.8.4.2 =
97
 
98
  *Release Date: 18 October 2019*
1
+ === Speed Booster Pack PageSpeed & Performance Optimization ===
2
+ Plugin Name: Speed Booster Pack PageSpeed & Performance Optimization
3
  Contributors: optimocha
4
+ Tags: speed, pagespeed, optimization, performance, page speed
5
  Requires at least: 4.6
6
+ Tested up to: 5.3
7
  Requires PHP: 5.6
8
+ Stable tag: 3.8.4.3
9
  License: GPLv3 or later
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
12
+ Speed optimization is vital for SEO. Optimize your PageSpeed scores today!
13
 
14
  == Description ==
15
 
68
 
69
  == Frequently Asked Questions ==
70
 
71
+ For complete usage instructions, you can visit the [Plugin Documentation](https://optimocha.com/speed-booster-pack-documentation/) page.
72
+
73
  = This plugin broke my site! =
74
 
75
  It's possible that the theme or your plugins might be using some old code that isn't compatible with Speed Booster Pack's code. If that's the case, try disabling some features in the Advanced tab. If that doesn't work, try deactivating the plugin and clear your browser & server caches. If that does the trick, reach out to us so we can help you. If the site is *still* broken, though, there's obviously another reason for your site breaking because everything Speed Booster Pack does, it does it on-the-fly. Deactivating the plugin (and clearing your caches) will make everything go away.
95
 
96
  == Changelog ==
97
 
98
+ = 3.8.4.3 =
99
+
100
+ *Release Date: 11 November 2019*
101
+
102
+ * Tested with WordPress 5.3.
103
+ * **Updated**: Updated instant.page to 3.0.0.
104
+ * **Updated**: Updated lazyload.js to 12.3.0.
105
+ * Changed the title of the plugin, and truncated the description.
106
+
107
  = 3.8.4.2 =
108
 
109
  *Release Date: 18 October 2019*
speed-booster-pack.php CHANGED
@@ -2,9 +2,9 @@
2
  /**
3
  * Plugin Name: Speed Booster Pack
4
  * Plugin URI: https://wordpress.org/plugins/speed-booster-pack/
5
- * Description: Speed optimization is crucial for SEO. And Speed Booster Pack is the easiest way to improve website performance. Get better PageSpeed scores today!
6
  * Author: Optimocha
7
- * Version: 3.8.4.2
8
  * Author URI: https://optimocha.com/
9
  * License: GPLv3 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -47,7 +47,7 @@ if( !defined( 'ABSPATH' ) ) {
47
 
48
  define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) );
49
  define( 'SPEED_BOOSTER_PACK_URL', preg_replace('#^https?:#', '', plugin_dir_url( __FILE__ ) ) );
50
- define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.4.2' );
51
  // Defining css position
52
  define( 'SBP_FOOTER', 10 );
53
  // Defining css last position
2
  /**
3
  * Plugin Name: Speed Booster Pack
4
  * Plugin URI: https://wordpress.org/plugins/speed-booster-pack/
5
+ * Description: Speed optimization is vital for SEO. Optimize your PageSpeed scores today!
6
  * Author: Optimocha
7
+ * Version: 3.8.4.3
8
  * Author URI: https://optimocha.com/
9
  * License: GPLv3 or later
10
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
47
 
48
  define( 'SPEED_BOOSTER_PACK_PATH', plugin_dir_path( __FILE__ ) );
49
  define( 'SPEED_BOOSTER_PACK_URL', preg_replace('#^https?:#', '', plugin_dir_url( __FILE__ ) ) );
50
+ define( 'SPEED_BOOSTER_PACK_VERSION', '3.8.4.3' );
51
  // Defining css position
52
  define( 'SBP_FOOTER', 10 );
53
  // Defining css last position