PageSourceSearch

https://metrojournalonline.com/static/c1e/static/themes/js/pagination.js?v=9

js metrojournalonline.com collected 2026-10-01 13:01:50 UTC 3,074 bytes, 1 lines download raw bytes

1!function(){let e=window.location.pathname,t=e.match(/\/page\/(\d+)/),n=window.location.pathname.split("/")[1],a=n?n.charAt(0).toUpperCase()+n.slice(1):"";window.c1_page_no=t?parseInt(t[1],10):1;let o=document.getElementsByTagName("title")[0],i=document.getElementsByTagName("title")[0].innerText;1!==window.c1_page_no&&(i.includes("404")?(o.innerHTML=`${a}  - Page ${window.c1_page_no}`,i=a):o.innerHTML=`${i}  - Page ${window.c1_page_no}`);let l=document.querySelector("[data-pagination]");if(function e(){if(!l)return;let t=l.parentNode,n=`<div class="M360_pagination" style="width:100%;height:100px;padding:12px"><button id="M360_previous" style="padding:5px 10px">Previous</button><div id="M360_buttons-container" style="display:inline"></div><button id="M360_next" style="padding:5px 10px">Next</button></div>`,a;t.insertAdjacentHTML("afterend",n),document.getElementById("M360_next").addEventListener("click",r),document.getElementById("M360_previous").addEventListener("click",g),a=document.getElementsByTagName("style")[0],a.innerHTML+=`.page-button.active{background-color:#007bff;color:#fff;font-weight:700}button:disabled{opacity:.5;cursor:not-allowed}`}(),l){let c=new MutationObserver(e=>{for(let t of e)if("attributes"===t.type&&"class"===t.attributeName){let n=t.target.classList;if(n.contains("colombiaonefail")){document.getElementById("M360_next").disabled=!0,l.innerHTML="Please Go to the previous Page",l.style.display="block";let a=document.getElementsByClassName("page-button");for(let o=0;o<a.length;o++)a[o].getAttribute("data-count")>window.c1_page_no&&(a[o].disabled=!0)}else document.getElementById("M360_next").disabled=!1}});c.observe(l,{attributes:!0,attributeFilter:["class"]})}function s(e){l.style.display="block",colombia.refresh(l.id),function e(){let t=window.location.pathname;window.location.pathname.endsWith("/")&&(t=window.location.pathname.replace(/\/$/,""));let n=t.match(/\/page\/(\d+)/);if(1===window.c1_page_no){if(n){let a=t.replace(/\/page\/\d+/,"");o.innerHTML=i,window.history.replaceState(null,"",a)}}else{let l=`/page/${window.c1_page_no}`,c;c=n?t.replace(/\/page\/\d+/,l):`${t}${l}`,o.innerHTML=`${i}  - Page ${window.c1_page_no}`,window.history.replaceState(null,"",c)}}(),p()}function p(){if(!l)return;let e=document.getElementById("M360_buttons-container");e.innerHTML="";let t=Math.max(1,window.c1_page_no-Math.floor(5/1.5)),n=t+5-1;for(let a=t;a<=n;a++){let o=document.createElement("button");o.innerText=a,o.setAttribute("data-count",a),o.classList.add("page-button"),o.style.cssText="margin: 0 5px;padding: 5px 10px;cursor: pointer;",o.onclick=()=>d(a),a===window.c1_page_no&&o.classList.add("active"),e.appendChild(o)}document.getElementById("M360_previous").disabled=1===window.c1_page_no}function r(){window.c1_page_no++,window.scrollTo({top:0,behavior:"smooth"}),s(window.c1_page_no)}function g(){window.c1_page_no>1&&(window.c1_page_no--,window.scrollTo({top:0,behavior:"smooth"}),s(window.c1_page_no))}function d(e){window.c1_page_no=e,window.scrollTo({top:0,behavior:"smooth"}),s(window.c1_page_no)}p()}();

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.