PageSourceSearch

https://www.radiole.com/wp-content/themes/nwp/src/Ajaxify/js/ajaxify-html5.min.js

js radiole.com collected 2026-10-01 11:50:33 UTC 4,774 bytes, 1 lines download raw bytes

1(function(t){t.ajaxify=function(t){function e(t){function e(){if((window.location.origin+"/"==unescape(r.location.toString())||unescape(r.location.toString()).includes("/tipo_de_post/")||unescape(r.location.toString()).includes(".html"))&&1==vars_inline.refresh){var t=i(this),e=window.location.origin,o=t.attr("title")||null,l={ajaxifyData:{instance:n,referrer:unescape(r.location.toString())}};if(-1!==e.indexOf("#"))return!0;var c=window.location.href,s=a.savedStates,d=s[s.length-1].url;c.endsWith("/")&&c.lastIndexOf("/")>c.indexOf("/")&&(c=c.slice(0,c.lastIndexOf("/"))),d!=c?a.pushState(l,o,c):a.pushState(l,o,c+"/")}return!1}var c=' a:internal:not(.no-ajaxy):not([href*="/wp-admin/"]):not([href*="wp-login"]):not([href$="/feed/"]):not([target="_blank"])',s=l.linkContainerSelector.replace(/\,/g,c+",")+c;if(o.on("click",s,function(t){var e=i(this),o=e.attr("href"),l=e.attr("title")||null,c={ajaxifyData:{instance:n,referrer:unescape(r.location.toString())}};return!(2!=t.which&&!t.metaKey)||(-1!==o.indexOf("#")||(sessionStorage.setItem("tbl-session-referrer",window.location.href),a.pushState(c,l,o),t.preventDefault(),!1))}),minutes_data.minutesValue&&minutes_data.minutesValue>0){var d=6e4*minutes_data.minutesValue;setInterval(e,d)}else setInterval(e,6e5);return t}var n,a=window.History,i=window.jQuery,r=window.document,o=i("html");if(!a.enabled)return!1;a.options.disableScroll=!0,void 0===i.ajaxify.instanceCount?i.ajaxify.instanceCount=0:i.ajaxify.instanceCount++,n=i.ajaxify.instanceCount;var l=i.extend({contentSelector:"main,#main,#content,article:first,.article:first,.post:first",backContentSelector:"#content,main,#main,article:first,.article:first,.post:first",linkContainerSelector:"body",activeClass:"active selected current youarehere",startEventName:"statechangestart",completedEventName:"statechangecomplete",scrollOptions:{duration:800,easing:"swing"},scrollEnabled:!1,startAnim:function(t,e,n,a){i(window).trigger(a),t.animate({opacity:0}
1,300,function(){i("body").addClass("ajaxify-waiting")})},endAnim:function(t,e,n,a,r){t.remove(),i("body").removeClass("ajaxify-loading ajaxify-waiting noscroll"),e.css({opacity:0,display:"block"}).animate({opacity:1},300,function(){i("body").removeClass("ajaxify-waiting")}),i(window).trigger(a,r)},keepOldContent:!1},t);""===l.linkContainerSelector&&(l.linkContainerSelector=l.contentSelector);var c=i(l.contentSelector).first(),s=c.get(0),d=i(window),f=i(r.body),u=a.getRootUrl();0===c.length&&(c=f),i.expr[":"].internal=function(t,e,n,a){var r,o=i(t),l=o.attr("href")||"",c=u.slice(0,-1);return r=l.substring(0,c.length)===c||-1===l.indexOf(":"),r};var m=function(t){var e=String(t).replace(/<\!DOCTYPE[^>]*>/i,"").replace(/<(html|head|body|title|meta)([\s\>])/gi,'<div class="document-$1"$2').replace(/<\/(html|head|body|title|meta)\>/gi,"</div>");return window.allMeta=jQuery(t).filter("meta"),i.trim(e)};e(i(l.linkContainerSelector)),d.bind("statechange",function(){var t=a.getState(),e=a.savedStates,o=t.url,d=e.length-2,p=e[d].url,y=t.data,h=o.replace(u,"");if(sessionStorage.setItem("tbl-session-referrer",p),t.data.ajaxifyData){if(y.ajaxifyData.instance!==n)return!1;c=i(l.contentSelector).first(),y.ajaxifyData.referrer!==p&&(c=i(l.backContentSelector),!0)}else{if(0!==n)return!1;c=i(l.backContentSelector),!0}f.addClass("ajaxify-loading"),s=c.get(0),l.keepOldContent?(c.wrapInner('<div id="ajaxify-oldContent" />').append('<div id="ajaxify-newContent" style="display: none;" />'),l.startAnim(i("#ajaxify-oldContent"),i("#ajaxify-newContent"),o,l.startEventName)):l.startAnim(c,i(),o,l.startEventName),i.ajax({url:o,success:function(t,e,n){var a,d,f=i(m(t)),u=f.find(".document-body:first"),p=u.find(l.contentSelector).filter(":first");if(d=p.find("script"),d.length&&d.detach(),a=p.html(),!a)return r.location.href=o,!1;c.stop(!0,!0),l.keepOldContent?i("#ajaxify-newContent").html(a):c.html(a),r.title=f.find(".document-title:first").text();try{r.getElementsByTagName("title")[0].innerHTML=r.title.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(t){}try{r.querySelector("link[rel='canonical']").href=f.find("link[rel=canonical]").attr("href")}catch(t){}try{let t=f.find("link[rel=amphtml]");t&&t[0]&&i("head").append(t[0])}catch(t){}d.each(function(){var t=i(this),e=t.text(),n=r.createElement("script");t.attr("src")&&(t[0].async||(n.async=!1),n.src=t.attr("src")),i(n).html(e),s.appendChild(n)}
1),void 0!==window._gaq&&window._gaq.push(["_trackPageview",h]),void 0!==window.reinvigorate&&void 0!==window.reinvigorate.ajax_track&&reinvigorate.ajax_track(o),l.keepOldContent?l.endAnim(i("#ajaxify-oldContent"),i("#ajaxify-newContent"),o,l.completedEventName,t):l.endAnim(i(),c,o,l.completedEventName,t)},error:function(t,e,n){return r.location.href=o,!1}})})}})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.