Fading Page Transitions

document.addEventListener(“DOMContentLoaded”, function() { // Create and insert CSS styles for fade-in and fade-out const style = document.createElement(‘style’); style.innerHTML = ` .fade-out { opacity: 0; transition: opacity 0.5s ease-in-out; } .fade-in { opacity: 1; transition: opacity 0.5s ease-in-out; } `; document.head.appendChild(style);…Continue reading

Smooth Scrolling for Anchor Links

document.addEventListener(‘click’, function(e) { // Check if the clicked element is an anchor with href starting with ‘#’ if (e.target.tagName === ‘A’ && e.target.getAttribute(‘href’) && e.target.getAttribute(‘href’).startsWith(‘#’)) { e.preventDefault(); const targetId = e.target.getAttribute(‘href’).slice(1); // Remove the ‘#’ from the href const targetElement…Continue reading

Untitled Snippet

// Get the butterflies container const butterfliesContainer = document.querySelector(‘.butterflies’); // Create a function to generate a butterfly function createButterfly() { const butterfly = document.createElement(‘div’); butterfly.className = ‘butterfly’; butterfliesContainer.appendChild(butterfly); return butterfly; } // Create multiple butterflies for (let i = 0;…Continue reading

Admin/Nav Extension – JS

jQuery(function($) { var $page_title = $(“#wpbody-content > .wrap > h1”); var $current_menu_item = $(“#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu”); if ($current_menu_item.length == 1) { var $menu_links = []; var $submenu = $current_menu_item.parent().find(“ul > li > a”); var $header_nav = $(“ “).addClass(“mx_nav”); var $title…Continue reading

Auto Google Ad – (Non-R19)

document.addEventListener(“DOMContentLoaded”, function () { function excludeChap() { const scripts = document.getElementsByTagName(‘script’); const scriptsArray = Array.from(scripts); // Loop through each script element scriptsArray.forEach(script => { // Check if the script’s content or src attribute contains the specific string if (script.innerHTML.includes(‘1810952886731558’) ||…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 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