PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.0.2
GenerateBlocks v2.0.2
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 year ago block-styles-imported.asset.php 1 year ago block-styles.asset.php 1 year ago block-styles.js 1 year ago blocks-rtl.css 1 year ago blocks.asset.php 1 year ago blocks.css 1 year ago blocks.js 1 year ago components-imported.asset.php 1 year ago components.asset.php 1 year ago components.js 1 year 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 1 year ago editor-sidebar.asset.php 1 year ago editor-sidebar.css 2 years ago editor-sidebar.js 1 year ago editor.asset.php 1 year ago editor.css 1 year ago editor.js 1 year ago looper.asset.php 1 year ago looper.js 1 year ago packages-rtl.css 1 year ago packages.asset.php 1 year ago packages.css 1 year ago pattern-library-rtl.css 1 year ago pattern-library.asset.php 1 year ago pattern-library.css 1 year ago pattern-library.js 1 year ago settings-rtl.css 1 year ago settings.asset.php 1 year ago settings.css 1 year ago settings.js 1 year ago styles-builder-imported.asset.php 1 year ago styles-builder.asset.php 1 year ago styles-builder.js 1 year ago
looper.js
1 lines
1 (()=>{const e="a[data-gb-prefetch][href]";const t={};document.body.addEventListener("mouseenter",(function(n){const r=n.target.closest(e);if(r){var o;if(null!==(o=t[r.href])&&void 0!==o&&o)return;const e=document.createElement("link");e.rel="prefetch",e.href=r.href,document.head.appendChild(e),t[r.href]=!0}}),!0),document.addEventListener("click",(t=>{const n=t.target.closest(e);if(n&&n.href){const e=n.getAttribute("data-gb-router-target");if(!e)return;t.preventDefault();const r=n.href;(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)}))})(r).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,"",r)}))}}))})();