PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / trunk
GenerateBlocks vtrunk
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 4 weeks ago block-styles-imported.asset.php 4 weeks ago block-styles.asset.php 4 weeks ago block-styles.js 4 weeks ago blocks-rtl.css 1 year ago blocks.asset.php 4 weeks ago blocks.css 1 year ago blocks.js 4 weeks ago components-imported.asset.php 4 weeks ago components.asset.php 4 weeks ago components.js 4 weeks 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 7 months ago editor-sidebar.asset.php 4 weeks ago editor-sidebar.css 7 months ago editor-sidebar.js 4 weeks ago editor.asset.php 4 weeks ago editor.css 1 year ago editor.js 4 weeks ago looper.asset.php 4 weeks ago looper.js 4 weeks ago packages-rtl.css 4 weeks ago packages.asset.php 4 weeks ago packages.css 4 weeks ago pattern-library-rtl.css 4 weeks ago pattern-library.asset.php 4 weeks ago pattern-library.css 4 weeks ago pattern-library.js 4 weeks ago settings-rtl.css 1 year ago settings.asset.php 4 weeks ago settings.css 1 year ago settings.js 4 weeks ago styles-builder-imported.asset.php 4 weeks ago styles-builder.asset.php 4 weeks ago styles-builder.js 4 weeks 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)}))}}))})();