document.addEventListener( 'DOMContentLoaded', function() {
// Prevent aggressive iframe caching in Firefox
var statsIframe = document.getElementById( 'stats-iframe' );
if ( statsIframe ) {
statsIframe.contentWindow.location.href = statsIframe.src;
}
initCompatiblePluginsShowMoreToggle();
} );
function initCompatiblePluginsShowMoreToggle() {
const section = document.querySelector( '.akismet-compatible-plugins' );
const list = document.querySelector( '.akismet-compatible-plugins__list' );
const button = document.querySelector( '.akismet-compatible-plugins__show-more' );
if ( ! section || ! list || ! button ) {
return;
}
function isElementInViewport( element ) {
const rect = element.getBoundingClientRect();
return rect.top >= 0 && rect.bottom <= window.innerHeight;
}
function toggleCards() {
list.classList.toggle( 'is-expanded' );
const isExpanded = list.classList.contains( 'is-expanded' );
button.textContent = isExpanded ? button.dataset.labelOpen : button.dataset.labelClosed;
button.setAttribute( 'aria-expanded', isExpanded.toString() );
if ( ! isExpanded && ! isElementInViewport( section ) ) {
section.scrollIntoView( { block: 'start' } );
}
}
button.addEventListener( 'click', toggleCards );
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| fonts/ | 2026-02-23 19:41 | 2.14 KB | 76129f60960:kunden | dxwrx-rx-r | |
| img/ | 2026-02-23 19:41 | 17.83 KB | 76129f60960:kunden | dxwrx-rx-r | |
| rtl/ | 2026-02-23 19:41 | 22.5 KB | 76129f60960:kunden | dxwrx-rx-r | |
| akismet-admin.css | 2026-02-23 19:41 | 13.86 KB | 76129f60960:kunden | -xw-x----- | |
| akismet-admin.js | 2026-02-23 19:41 | 1.26 KB | 76129f60960:kunden | -xw-x----- | |
| akismet-frontend.js | 2026-02-23 19:41 | 11.12 KB | 76129f60960:kunden | -xw-x----- | |
| akismet.css | 2026-02-23 19:41 | 8.48 KB | 76129f60960:kunden | -xw-x----- | |
| akismet.js | 2026-02-23 19:41 | 12.31 KB | 76129f60960:kunden | -xw-x----- | |