Modified AdBlock Plus Engine
Cromite uses a modified version of AdBlock Plus that has been enhanced for better privacy and security while removing some potentially dangerous features.Engine Modifications
Removed Features (Security)
Removed Features (Security)
The following AdBlock Plus features have been removed for security reasons:
- Header and CSP filter option - Removed for security
- json-override snippet - Removed to prevent script injection
- simulate-event-poc snippet - Removed to prevent event simulation abuse
- simulate-mouse-event snippet - Removed to prevent mouse event abuse
- Sitekey support - Removed for simplicity
Modified Features
Modified Features
- override-property-read snippet - Modified to allow only 0 and 1 as numeric arguments (prevents arbitrary value injection)
Added Features
Added Features
Cromite adds several powerful features to the AdBlock Plus engine:
- DNS CNAME support - Uncovers tracking domains hidden behind CNAME records
- WebSocket blocking - Blocks WebSocket connections used for tracking
- WebTransport blocking - Blocks WebTransport URLs
- Service Worker fetch blocking - Blocks service worker network requests
CNAME Uncloaking
One of Cromite’s most powerful ad blocking features is CNAME uncloaking. Many trackers hide behind CNAME DNS records to evade ad blockers. Cromite resolves CNAME records to identify and block these hidden trackers.
How CNAME Uncloaking Works
When a website loads content fromanalytics.example.com, that domain might be a CNAME pointing to tracker.adnetwork.com. Traditional ad blockers only see the first domain. Cromite’s CNAME support resolves the chain and blocks based on the final destination.
Example:
WebSocket and WebTransport Blocking
Cromite can block WebSocket and WebTransport connections, which are increasingly used for tracking and real-time bidding in advertising.
ws://andwss://(WebSocket)- WebTransport URLs
- Service Worker fetch requests
Gateway Attack Prevention
Filter Lists
Cromite downloads filter lists fromwww.cromite.org/filters URLs.
Adding Custom Filter Lists
Update Mechanism
The Cromite AdBlock Update Service provides automatic filter updates to ensure you’re protected against the latest ads and trackers.
Update Schedule
- Frequency: Daily checks for new filters
- Source:
www.cromite.org/filters - Privacy: www.cromite.org does not record any logs during filter updates
- Automatic: Updates happen in the background without user interaction
Manual Updates
You can manually trigger a filter update fromchrome://adblock.
Configuration
Access the AdBlock configuration page to customize filtering behavior:chrome://adblock
The AdBlock configuration page allows you to:Manage Filter Lists
Add, remove, and update filter list subscriptions
Custom Filters
Add your own custom filter rules
Whitelist Domains
Allow ads on specific domains
View Statistics
See how many requests have been blocked
Site Settings Integration
Cromite integrates ad blocking with Chrome’s site settings system.Per-Site AdBlock Control
Open Site Settings
Navigate to
chrome://settings/content/adblock or click the lock icon in the address barThe site settings integration allows you to easily whitelist specific sites while maintaining strong ad blocking everywhere else.
Content Settings
Cromite provides granular content settings for ad blocking:- Adblock - Main ad blocking toggle
- Cookies - Cookie blocking (works with ad blocker)
- JavaScript - JavaScript blocking (extreme privacy)
- Images - Image blocking (reduces bandwidth)
- Autoplay - Autoplay blocking (prevents video ads)
- Pop-ups - Pop-up blocking (enabled by default)
All Pop-ups Blocking
Cromite enables blocking of ALL pop-ups by default, including those that would normally bypass Chrome’s pop-up blocker.
Limitations
No CSS Rules Support
The current AdBlock Plus engine implementation does not support CSS-based filtering rules. This means:- Cosmetic filtering is limited
- Some ads may still be visible (but network requests are blocked)
- Element hiding rules are not applied
Filter List Compatibility
Not all AdBlock Plus filter lists are fully compatible due to removed features:- Lists using
headerorcspoptions won’t work - Lists using removed snippets will have those rules skipped
- Most standard filter lists work fine
Legacy Bromite Engine
Cromite also includes the legacy Bromite ad blocking engine (disabled by default).About the Legacy Engine
About the Legacy Engine
Since v77, Bromite used Chromium’s built-in subresource filter. This engine:
- Uses Chromium’s native subresource filter
- Does not support CSS rules
- Less powerful than the AdBlock Plus engine
- Disabled by default in Cromite
- Checks for updates weekly (legacy behavior)
Privacy Benefits
Ad blocking provides significant privacy benefits beyond removing visual clutter:Tracking Prevention
Blocks tracking pixels, beacons, and analytics scripts
Fingerprinting Reduction
Prevents fingerprinting scripts from loading
Malware Protection
Blocks malicious advertising networks
Bandwidth Savings
Reduces data usage by blocking large ad content
Performance
Pages load faster without ad network requests
Battery Life
Reduces CPU usage from ad scripts and animations
Performance Impact
Cromite’s ad blocking has minimal performance impact:
- Filter list parsing happens at startup
- Blocking decisions are made at the network layer
- No CSS parsing overhead (due to lack of cosmetic filtering)
- CNAME resolution adds minimal latency
- WebSocket blocking is protocol-level
Troubleshooting
Site Breaking
If a site breaks due to ad blocking:Filter Updates Not Working
If filter updates aren’t working:
- Check your internet connection
- Verify
www.cromite.orgis not blocked by a firewall - Manually trigger an update from
chrome://adblock - Check for error messages in
chrome://adblock