https://madamefigaro.jp/wp-content/themes/madamefigaro-jp/assets/js/disable-whatpager.js?ver=1.0.153
1/** 2 * Disable whatpager pagination - show all pages at once 3 * Force display all whatpager pages by directly overriding inline styles 4 */ 5(function() { 6 'use strict'; 7 8 function showAllWhatpagerPages() { 9 // Select all whatpager elements 10 const whatpagerElements = document.querySelectorAll('.whatpager[data-page]'); 11 12 if (whatpagerElements.length === 0) { 13 return; // No whatpager elements found 14 } 15 16 // Force display all pages by directly setting style properties 17 whatpagerElements.forEach(function(element) { 18 // Direct style manipulation overrides inline styles 19 element.style.opacity = '1'; 20 element.style.display = 'block'; 21 element.style.visibility = 'visible'; 22 element.style.height = 'auto'; 23 element.style.overflow = 'visible'; 24 25 // Remove any classes that might hide content 26 element.classList.remove('hidden'); 27 }); 28 29 console.log('Whatpager disabled: Showing all ' + whatpagerElements.length + ' pages'); 30 } 31 32 // Run on DOM ready 33 if (document.readyState === 'loading') { 34 document.addEventListener('DOMContentLoaded', showAllWhatpagerPages); 35 } else { 36 // DOM already loaded 37 showAllWhatpagerPages(); 38 } 39 40 // Also run after a short delay to catch any dynamically loaded content 41 setTimeout(showAllWhatpagerPages, 100); 42})();
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.