PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.4.1
GenerateBlocks v2.4.1
2.4.1 2.4.0 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / dist / looper.js
generateblocks / dist Last commit date
blocks 1 month ago block-styles-imported.asset.php 2 months ago block-styles.asset.php 2 months ago block-styles.js 2 months ago blocks-rtl.css 1 year ago blocks.asset.php 2 months ago blocks.css 1 year ago blocks.js 2 months ago components-imported.asset.php 2 months ago components.asset.php 2 months ago components.js 2 months ago dashboard-rtl.css 1 year ago dashboard.asset.php 1 year ago dashboard.css 1 year ago dashboard.js 1 year ago editor-rtl.css 1 year ago editor-sidebar-rtl.css 8 months ago editor-sidebar.asset.php 1 month ago editor-sidebar.css 8 months ago editor-sidebar.js 1 month ago editor.asset.php 1 month ago editor.css 1 year ago editor.js 1 month ago looper.asset.php 2 months ago looper.js 2 months ago packages-rtl.css 2 months ago packages.asset.php 2 months ago packages.css 2 months ago pattern-library-rtl.css 2 months ago pattern-library.asset.php 1 week ago pattern-library.css 2 months ago pattern-library.js 1 week ago settings-rtl.css 1 month ago settings.asset.php 1 month ago settings.css 1 month ago settings.js 2 months ago styles-builder-imported.asset.php 2 months ago styles-builder.asset.php 2 months ago styles-builder.js 2 months ago
looper.js
1 lines
1 (()=>{const e="a[data-gb-prefetch][href]";function t(e){try{const t=new URL(e,window.location.href);return t.origin!==window.location.origin?"":t.href}catch(e){return""}}const n={};document.body.addEventListener("mouseenter",(function(r){const o=r.target.closest(e);if(o){var c;const e=t(o.href);if(!e)return;if(null!==(c=n[e])&&void 0!==c&&c)return;const r=document.createElement("link");r.rel="prefetch",r.href=e,document.head.appendChild(r),n[e]=!0}}),!0),document.addEventListener("click",(n=>{const r=n.target.closest(e);if(r&&r.href){const e=r.getAttribute("data-gb-router-target");if(!e)return;const o=t(r.href);if(!o)return;n.preventDefault(),function(e){return fetch(e).then((e=>{if(!e.ok)throw new Error("Network error");return e.text()})).catch((e=>{console.error("Error fetching prefetched page:",e)}))}(o).then((t=>{(function(e="",t=""){const n=document.querySelector(`[data-gb-router-region="${e}"]`);if(!n||!t)throw new Error("Missing container or prefetched content");const r=n.parentNode.querySelector(".gb-query-loop-pagination"),o=document.createElement("div");o.innerHTML=t;const c=o.querySelector(`[data-gb-router-region="${e}"]`),i=c.parentNode.querySelector(".gb-query-loop-pagination");c&&n?(n.innerHTML=c.innerHTML,function(e){const t=e.getBoundingClientRect();t.top>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)||e.scrollIntoView({behavior:"smooth",block:"start"})}(n),r.innerHTML=i.innerHTML):console.error("Unable to update posts container: Missing elements")})(e,t),history.pushState(null,"",o)}))}}))})();