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 Shortcode

$(document).ready(function () { $(“div.description:contains(‘Maximum 5 characters’)”).hide(); var badge = document.querySelector(‘select[name=”madara-manga-badge”]’); var status = document.querySelector(‘select[name=”madara-manga-status”]’); if (badge) { badge.disabled = true; } if (status) { status.disabled = true; } var chapterCreateVolume = document.getElementById(‘chapter-create-volume’); if (chapterCreateVolume){ chapterCreateVolume.disabled = true; } // Create…Continue reading

Censor Site

//censor window.addEventListener(‘DOMContentLoaded’, function() { if(document.body.classList.contains(‘adult-content’)) { censorText(); } }); function censorText() { // Find the element by its class const element = document.querySelector(‘.content-blocked.login-required’); // Check if the element exists and contains the target text if (element && element.innerHTML.includes(‘Subscriber’)) { element.innerHTML…Continue reading

Censor Page Logic

document.getElementById(‘censorTextBtn’).addEventListener(‘click’, function () { var uncensoredText = document.getElementById(‘uncensoredText’).innerHTML; var censoredWords = [“pornhub”, “fucked”, “orgasm”, “semen”,”cock”, “ejaculated”, “ejaculating”,”ejaculate”, “fuck”, “fucking”,”clit”, “ejaculation”, “vagina”, “cunt”, “tits”,”titties”, “masochist”, “masturbate”, “masturbated”,”dildo”, “slut”, “motherfucker”,”cunnilingus”, “cocks”, “blowjobs”,”whore”, “whores”, “cum”,”cums”, “porn”, “pornography”,”clitoris”, “shits”, “shit”, “penis”, “breast”, “breasts”, “nipple”,…Continue reading

Info-Chapters Show/Hide chapter-release-date

document.querySelectorAll(‘li’).forEach(function(li) { const chapterReleaseDates = li.querySelectorAll(‘.chapter-release-date’); if (chapterReleaseDates.length > 1) { chapterReleaseDates.forEach(function(date) { if (date.classList.contains(‘salmon’)) { date.style.display = ‘none’; } }); } });Continue reading

Info-Chapters Show/Hide chapter-release-date

document.querySelectorAll(‘li’).forEach(function(li) { const chapterReleaseDates = li.querySelectorAll(‘.chapter-release-date’); if (chapterReleaseDates.length > 1) { chapterReleaseDates.forEach(function(date) { if (date.classList.contains(‘salmon’)) { date.style.display = ‘none’; } }); } });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

eaglegame

const canvas = document.getElementById(‘game-canvas’); const ctx = canvas.getContext(‘2d’); class Character { constructor(name, x, y, width, height, color, level, hp, attack, xp) { this.name = name; this.x = x; this.y = y; this.width = width; this.height = height; this.color = color;…Continue reading