Add dynamic copyright year (center) to footer

// This will output “Copyright © 2024” (or the current year) in the footer automatically. $copyright = “Copyright &#169 ” ; $current_year = date( ‘Y’ ) ; $copyright_year = $copyright . $current_year ; // Add CSS classes for styling. For…Continue reading

Pubfuture – 10th 20th 30th R19

document.addEventListener(“DOMContentLoaded”, function() { let breadcrumbs = document.querySelectorAll(‘.breadcrumb li’); let containsR19 = false; for (let i = 0; i < breadcrumbs.length; i++) { if (breadcrumbs[i].classList.contains('active') && (breadcrumbs[i].textContent.includes('R19') || breadcrumbs[i].textContent.includes('R-19') || breadcrumbs[i].textContent.includes('R 19'))) { containsR19 = true; break; } } if (containsR19)…Continue reading

Remove adsbygoogle.js

document.addEventListener(“DOMContentLoaded”, function() { let breadcrumbs = document.querySelectorAll(‘.breadcrumb li’); let containsR19 = false; // Check if the active breadcrumb contains an R19 tag. for (let i = 0; i < breadcrumbs.length; i++) { if (breadcrumbs[i].classList.contains('active') && (breadcrumbs[i].textContent.includes('R19') || breadcrumbs[i].textContent.includes('R-19') || breadcrumbs[i].textContent.includes('R…Continue reading

User Settings Badge Checker

var madaraBadge = document.querySelector(‘select[name=”madara-manga-badge”]’); var madaraStatus = document.querySelector(‘select[name=”madara-manga-status”]’); if(madaraBadge){ madaraBadge.addEventListener(‘change’, function(e) { if (e.target.value !== ‘completed’ && e.target.value !== ”) { alert(‘Invalid choice’); e.target.value = ”; } if(madaraStatus){ if(e.target.value == ‘completed’){ madaraStatus.value = ‘end’; } else { madaraStatus.value = ‘on-going’…Continue reading

User Settings Add Manga Type Checker

var madaraMangaType = document.querySelector(‘select[name=”madara-manga-type”]’) var krTag = document.getElementById(‘tag-kr’) var cnTag = document.getElementById(‘tag-cn’) var jpTag = document.getElementById(‘tag-jp’) if(madaraMangaType){ madaraMangaType.addEventListener(‘change’, function(e) { if(madaraMangaType.value == “web-novel-cn”){ cnTag.checked = true; krTag.checked = false; jpTag.checked = false; } else if (madaraMangaType.value == “web-novel-kr”){ krTag.checked =…Continue reading