Releases: Pekadii/HiAnimeAdBlocker
v1.7.4
Caution
Encrypted
Zip file key is required Official Release.
DM @ Discord: https://pekadi.com
Version 1.7.4 - Nov 15, 2025
Quick update: Jan 20, 2026
Additionally, URL parsing is now guarded to only run on valid http(s) URLs,
preventing new URL() from throwing on internal or special tab URLs.
chrome.runtime.lastError issue when chrome.tabs.get(o, (e => {...})) inside the closeTab function: fix by stop redundant closing attempts, to make sure chrome.tabs.onUpdated listener removes the tab from the tracking sets before calling closeTab(tabId).
Note
Hotfix Update following the September 29th release. This version specifically addresses a critical issue where aggressive, randomized ad modals and banners were able to bypass the content script's initial detection and persist on the page. The core logic has been updated for immediate and continuous removal.
Important
Bug Fixes:
- Critical Persistent Banner Fix: Resolved the major issue where new rotating and re-injected ad modals (e.g., the "Best Game" pop-ups) could briefly appear or cover content due to being delayed or re-injected after initial removal.
Major Improvements: - Enhanced Content Script Aggressiveness (Continuous Cleaning): Implemented a new continuous cleaning interval in
content.jsthat forcibly executes the ad removal logic every 500 milliseconds. This ensures instant and constant removal of any intrusive element that attempts to bypass the initialMutationObserveror static selectors. - Updated Selector Aggressiveness: Added the aggressive selector
div[class*="ad-"]to thecleanAds()function to better target and remove modals using randomized or dynamic class names.
v1.7.3
Caution
Encrypted
Zip file key is required Official Release.
DM @ Discord: https://pekadi.com
Version 1.7.3 - September 29, 2025
Important
Bug Fixes:
Critical Pop-up/Banner Fix: Resolved the major issue where a persistent "Recommended extensions" banner/modal would appear and cover the content [cite: uploaded:image_6fec8e.png]. The content script (content.min.js) is now more aggressive and targets these intrusive elements for immediate removal based on their structure and common modal classes.
Redirect Loop Prevention: Confirmed and verified that the background script's logic for instantly closing tabs redirected to unallowed domains is functioning correctly, specifically preventing the new tabs that were opening and immediately closing (pop-unders) from becoming a nuisance.
Major Improvements:
- Enhanced Malicious Domain Blocking:
Added multiple new malicious ad domains to the blocklist (rules.json) to prevent scripts that trigger unwanted tab redirects and pop-unders from loading.
- Improved Content Script Aggressiveness:
Updated the content script (content.min.js) with more specific and forceful CSS rules to immediately remove the pop-up modal and its overlay as soon as it appears on the page.
- Refined Tab Closing Logic:
Maintained the existing, secure logic in the background script to detect and instantly close any tab that is redirected to an unallowed or malicious domain, ensuring a safe browsing experience.
- Wider Cleanup Selector:
Updated ad cleanup functions to target a broader set of ad-related classes and scripts that attempt to bypass initial blocking, increasing the efficiency of content removal after page load.
- Improved Mutation Handling:
Refined the MutationObserver logic to more quickly detect and clean up ad elements that are injected into the page long after the initial page load, improving anti-ad performance on dynamic websites.
v1.7.2
Caution
Encrypted
Zip file key is required Official Release.
DM @ Discord: https://pekadi.com
Version 1.7.2 - November 11, 2024
Note
New Features:
- Support for MyAnimeList Ad Blocking:
- Added new rules to block advertisements on https://myanimelist.net.
- Includes blocking of banners, sidebars, and dynamically injected ads.
Enhanced Dynamic Content Blocking
- Improved content.js to observe DOM mutations and remove dynamically loaded ad elements.
- Blocks stylesheets, scripts, and iframes associated with ad-serving domains.
Expanded Rule Set
- Added rules to block additional ad domains such as:
- quantserve.com
- outbrain.com
- quantcount.com
- Included rules for specific ad styles (e.g., creative_figma_2.css).
Improved URL Detection
- Enhanced detection of URL changes (e.g., hashchange, popstate) for single-page applications (SPAs) to dynamically update blocking.
Bug Fixes:
Resolved Syntax Errors
- Fixed a syntax error in content.js caused by an unclosed or misplaced brace (}).
Manifest Validation Issue
- Addressed an issue where the rules.json file caused extension load failures due to malformed JSON.
Cleaned up JSON structure in the manifest and rules file.
Persistent Ad Remnants
- Fixed an issue where certain dynamically loaded ads (e.g., creative_figma_2.css and widget.js) were not consistently removed.
Content Script Observers
- Fixed overlapping MutationObserver definitions to streamline ad detection and improve performance.
Improvements
Performance Optimization
- Reduced the number of redundant observer triggers to minimize CPU usage.
- Optimized DOM queries to target specific ad elements more efficiently.
Dynamic Rule Matching
- Introduced rules to handle dynamic ad-serving domains and scripts injected at runtime.
Detailed Logging
- Added logging in content.js for easier debugging and monitoring of blocked ads and URL changes.
Caution
Known Issues
New Ad Sources
- Some newly introduced ad domains or dynamically generated scripts/styles may bypass the current block list. Continuous updates are needed to address this.
Reloading Required for Certain Scenarios
- In some cases, blocking dynamically injected ads might require a manual page reload to take full effect.



