Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5279398
Minor improvement of `trusted-create-html` scriptlet
gorhill Mar 12, 2026
bdd10eb
Add `prevent-textContent` scriptlet
gorhill Mar 12, 2026
d86f17d
New revision for dev build
gorhill Mar 12, 2026
abb4a91
Update changelog
gorhill Mar 13, 2026
9026920
Make Firefox dev build auto-update
gorhill Mar 14, 2026
e871d6e
Add new filter option: `requestheader`
gorhill Mar 14, 2026
f73c57d
Update changelog
gorhill Mar 14, 2026
f5de580
New revision for dev build
gorhill Mar 14, 2026
251eb97
Firefox doesn't need `extraHeaders`
gorhill Mar 14, 2026
4c0a6b8
Used values instead of bits for modify filter options
gorhill Mar 15, 2026
ab8baaf
Fix editor's autocomplete for first filter option
gorhill Mar 15, 2026
37732ea
Update changelog
gorhill Mar 16, 2026
018feea
New revision for dev build
gorhill Mar 16, 2026
60f5759
Add `prevent-navigation` scriptlet
gorhill Mar 16, 2026
7de8e75
Update changelog
gorhill Mar 16, 2026
e979fc0
Execute in isolated world
gorhill Mar 16, 2026
58ac2df
New revision for dev build
gorhill Mar 16, 2026
fcb1eee
[mv3] Add missing call to re-register content scripts
gorhill Mar 16, 2026
69448b2
[mv3] Report total number of rules in use
gorhill Mar 16, 2026
e7971e6
[mv3] Use low-priority "allow" rules for modifier filters
gorhill Mar 19, 2026
82f8742
[mv3][safari] Expand `requestDomains` rules into multiple `urlFilter`…
gorhill Mar 19, 2026
8c5ddc0
[mv3][safari] Drop some default list from default rulesets
gorhill Mar 19, 2026
b612904
[mv3] Minor change
gorhill Mar 19, 2026
21f5c38
Minor change
gorhill Mar 20, 2026
12d7157
[mv3] Add support for popup filtering
gorhill Mar 20, 2026
758582a
[mv3] Update build script
gorhill Mar 20, 2026
b862b73
Categorize `.svg` resources as `image` type
gorhill Mar 21, 2026
751104a
[mv3] Fix regression leading to overzealous blocking
gorhill Mar 23, 2026
05f01f6
Add `freeze-element-property` scriptlet
gorhill Mar 25, 2026
2bc251b
[mv3] Fix total count of DNR rules
gorhill Mar 25, 2026
25e6630
Update changelog
gorhill Mar 25, 2026
ecbe21d
Fix typos
gorhill Mar 25, 2026
ecb442f
Add support for `Node` properties to `freeze-element-property` scriptlet
gorhill Mar 25, 2026
573b037
Remove statically.io URLs
gorhill Mar 27, 2026
36baf20
Update changelog
gorhill Mar 28, 2026
e2d8387
Update changelog
gorhill Mar 28, 2026
13f0bb5
Update URL of List-KR
gorhill Mar 31, 2026
4236392
Update list name
gorhill Mar 31, 2026
cfe54fc
[mv3] Fix `header=` conversion in custom DNR rules
gorhill Apr 1, 2026
dbcb242
[mv3] Support fetching lists from specific commit
gorhill Apr 1, 2026
a8bbd1a
Fix JS code extraction from web accessible resources
gorhill Apr 2, 2026
b1404a5
Update changelog
gorhill Apr 2, 2026
e2bd8c1
New revision for dev build
gorhill Apr 2, 2026
2cc88f9
Merge upstream changes from gorhill: 43 commits (ad-skip & scriptlet …
HaplessIdiot Apr 5, 2026
a035cc0
feat(stealth): implement Edge 146 Windows spoofing protocol
azuriteshift Apr 5, 2026
ca41a97
feat(stealth): operation SCORCHED-EARTH - total aggressive defaults
HaplessIdiot Apr 5, 2026
965d901
docs: operation CHRONICLE - sovereign-class README overhaul
HaplessIdiot Apr 5, 2026
0290ec7
feat(mobile): implement iOS 19 / Chrome 146 stealth spoof
azuriteshift Apr 6, 2026
a6b2390
feat(mobile): implement Operation Red-Dragon (Base64 Ad-Poisoning)
HaplessIdiot Apr 6, 2026
6a73de2
fix makefile made mistake pushing wrong changes
HaplessIdiot Apr 6, 2026
3fea996
change old funding nagging to something productive for society
HaplessIdiot Apr 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
- [Fix JS code extraction from web accessible resources](https://github.com/gorhill/uBlock/commit/a8bbd1a466)
- [Add `freeze-element-property` scriptlet](https://github.com/gorhill/uBlock/commit/05f01f6be4)
- [chromium][Categorize `.svg` resources as image type](https://github.com/gorhill/uBlock/commit/b862b73134)
- [Add `prevent-navigation` scriptlet](https://github.com/gorhill/uBlock/commit/60f57594bf)
- [Fix editor's autocomplete for first filter option](https://github.com/gorhill/uBlock/commit/ab8baaf833)
- [Add new filter option: `requestheader`](https://github.com/gorhill/uBlock/commit/e871d6e673)
- [Minor improvement of `trusted-create-html` scriptlet](https://github.com/gorhill/uBlock/commit/527939854d)

----------

# 1.70.0

- [Improve `json-edit`-related scriptlets](https://github.com/gorhill/uBlock/commit/98d3e9500a)
- [Improve `trusted-create-html` scriptlet](https://github.com/gorhill/uBlock/commit/baffd32dab)
- [Improve `prevent-fetch` scriptlet](https://github.com/gorhill/uBlock/commit/2ce376cf1d)
Expand All @@ -24,7 +36,7 @@
- [Add `nitropay_ads.js` shim](https://github.com/gorhill/uBlock/commit/6af8a457ed)
- [Improve scriptlets proxying `fetch`](https://github.com/gorhill/uBlock/commit/13612d1d29)
- [Improve google-ima shim](https://github.com/gorhill/uBlock/commit/3fc281adf1)
- [[firefox] Change minimum required version to 115](https://github.com/gorhill/uBlock/commit/d5793b83f2)
- [[firefox] [Change minimum required version to 115](https://github.com/gorhill/uBlock/commit/d5793b83f2)
- [Fix regression in `prevent-fetch` scriptlet](https://github.com/gorhill/uBlock/commit/be78200c2f)
- [Add `prevent-dialog` scriptlet](https://github.com/gorhill/uBlock/commit/fd12d01928)

Expand Down
Binary file added DarkSonic_v1.0.0_Chromium.zip
Binary file not shown.
34 changes: 33 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://stackoverflow.com/a/6273809
run_options := $(filter-out $@,$(MAKECMDGOALS))

.PHONY: all clean cleanassets test lint chromium opera firefox npm dig \
.PHONY: all clean cleanassets test lint chromium opera firefox npm dig mobile FORCE \
mv3-chromium mv3-firefox mv3-edge mv3-safari ubol-codemirror \
compare maxcost medcost mincost modifiers record wasm \
publish-chromium publish-edge publish-firefox \
Expand Down Expand Up @@ -41,6 +41,38 @@ dist/build/uBlock0.firefox: tools/make-firefox.sh $(sources) $(platform) $(asset
# Build the extension for Firefox.
firefox: dist/build/uBlock0.firefox

# Build for Mobile Browsers (Android/iOS)
# Phase 3: Mobile-specific build with minification

# Define mobile sources explicitly
mobile_sources := $(shell find ./platform/mobile -type f)

# Ensure dist/build directory exists
dist/build:
mkdir -p dist/build

# Mobile target - always runs (phony)
mobile: FORCE
@echo "*** DarkSonic: Building Mobile Artifact (iOS/Android) ***"
rm -rf dist/build/adnauseam.mobile
mkdir -p dist/build/adnauseam.mobile
cp -r src/* dist/build/adnauseam.mobile/
cp -r platform/mobile/* dist/build/adnauseam.mobile/
# Inject the mobile flag directly into the build
echo "window.ADNAUSEAM_MOBILE = true;" > dist/build/adnauseam.mobile/js/mobile-flag.js
cp platform/mobile/manifest.json dist/build/adnauseam.mobile/manifest.json
# Set mobile flag for UA spoofing
@if command -v terser >/dev/null 2>&1; then \
find dist/build/adnauseam.mobile/js -name '*.js' -exec terser --compress --mangle {} -o {} \; \
|| echo "Minification skipped"; \
else \
echo "Minification skipped (terser not found)"; \
fi
@echo "Mobile build complete at dist/build/adnauseam.mobile"

# Always force rebuild
FORCE:

dist/build/uBlock0.npm: tools/make-nodejs.sh $(sources) $(platform) $(assets)
tools/make-npm.sh

Expand Down
167 changes: 130 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,71 +1,164 @@
<!-- [![Build Status](https://travis-ci.org/dhowe/AdNauseam.svg)](https://travis-ci.org/dhowe/AdNauseam) -->
![version](https://badgen.net/amo/v/adnauseam) ![stars](https://badgen.net/amo/stars/adnauseam) <a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://img.shields.io/badge/license-GPL-orange.svg" alt="gpl license"></a> [![open-collective](https://opencollective.com/adnauseam/tiers/badge.svg)](https://opencollective.com/adnauseam#category-CONTRIBUTE)
<!--
DarkSonicAdNauseam - Offensive Privacy Engine
Version: 1.0.0-alpha (5800X3D Edition)
License: GPLv3 + SSX Additional Permissions
-->

[![Build Status](https://travis-ci.org/dhowe/AdNauseam.svg)](https://travis-ci.org/dhowe/AdNauseam)
![version](https://badgen.net/amo/v/adnauseam)
![stars](https://badgen.net/amo/stars/adnauseam)
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html"><img src="https://img.shields.io/badge/license-GPL--3.0+SSX-orange.svg" alt="gpl license"></a>

***

<div align="center">
<a href="https://adnauseam.io">
<a href="https://github.com/supersonic-xserver/DarkSonicAdNauseam">
<img src="https://rednoise.org/images/adnauseam.png" width="150px"/>
</a>
</div>

***

<p align="center">
<a href="https://addons.mozilla.org/en-US/firefox/addon/adnauseam/"><img src="https://user-images.githubusercontent.com/585534/107280546-7b9b2a00-6a26-11eb-8f9f-f95932f4bfec.png" alt="Get AdNauseam for Firefox"></a>
<a href="https://microsoftedge.microsoft.com/addons/detail/adnauseam/mlojlfildnehdpnlmpkeiiglhhkofhpb"><img src="https://user-images.githubusercontent.com/585534/107280673-a5ece780-6a26-11eb-9cc7-9fa9f9f81180.png" alt="Get AdNauseam for Microsoft Edge"></a>
<a href="https://addons.opera.com/en/extensions/details/adnauseam-2/"><img src="https://user-images.githubusercontent.com/585534/107280692-ac7b5f00-6a26-11eb-85c7-088926504452.png" alt="Get AdNauseam for Opera"></a>
<br><sub><a href="https://twitter.com/gorhill/status/1033706103782170625">It is <b>not</b> recommended to use AdNauseam at the same time as other similarly-purposed blockers</a></sub>
<!--<br><sub>See below for <a href="#installation">more installation options.</a></sub>-->
<a href="https://addons.mozilla.org/en-US/firefox/addon/adnauseam/"><img src="https://user-images.githubusercontent.com/585534/107280546-7b9b2a00-6a26-11eb-8f9f-f95932f4bfec.png" alt="Get for Firefox"></a>
<a href="https://microsoftedge.microsoft.com/addons/detail/adnauseam/mlojlfildnehdpnlmpkeiiglhhkofhpb"><img src="https://user-images.githubusercontent.com/585534/107280673-a5ece780-6a26-11eb-9cc7-9fa9f9f81180.png" alt="Get for Microsoft Edge"></a>
<a href="https://addons.opera.com/en/extensions/details/adnauseam-2/"><img src="https://user-images.githubusercontent.com/585534/107280692-ac7b5f00-6a26-11eb-85c7-088926504452.png" alt="Get for Opera"></a>
<br><sub>⚠️ Do NOT use with other ad-blockers - this is a weaponized fork</sub>
</p>

***

[AdNauseam](https://adnauseam.io) is a lightweight browser extension that blends software tool and artware intervention to actively fight back against tracking by advertising networks. AdNauseam works like an ad-blocker (it is built atop [uBlock Origin](https://github.com/gorhill/uBlock)) to silently simulate clicks on each blocked ad, confusing trackers as to one's real interests. At the same time, AdNauseam serves as a means of voicing your discontent with advertising networks that disregard privacy and engage in bulk surveillance.
# 🛸 DARKSONICADNAUSEAM - OFFENSIVE PRIVACY ENGINE

## The Mission: Poisoning the ROI of Corporate Surveillance

DarkSonicAdNauseam (DSAN) is a weaponized ad-blocker that transforms the advertising surveillance economy into a liability. Built upon uBlock Origin 1.70.1b4, DSAN doesn't just block ads—it actively poisons tracking data to render user profiling economically unviable.

**Philosophy**: Privacy is not a setting. It's a war.

---

## 🎯 The Tech Stack

| Component | Implementation |
|-----------|----------------|
| **Core Engine** | uBlock Origin 1.70.1b4 (gorhill/master) |
| **Language** | C-optimized JavaScript (ES6 modules) |
| **Platform** | Chromium/Firefox Extension (MV3) |
| **Optimization** | AMD Ryzen 7 5800X3D (3D V-Cache tuned) |
| **Build** | Makefile-based (make chromium) |

### Latest Integration (2025)
- **43 commits** merged from upstream gorhill/uBlock
- **Scriptlet engine**: freeze-element-property, prevent-navigation, prevent-textContent
- **YouTube/YT Music**: Full ad-skip + nag suppression

---

## 👻 GHOST PROTOCOL (v1.0.0-alpha)

The Ghost Protocol is DSAN's stealth infrastructure that defeats server-side ad-block detection and Linux-specific rate limiting.

### Implementation Details

**1. HTTP Header Spoofing** (`src/js/traffic.js`)
- User-Agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.3856.97`
- Client Hints:
- `Sec-CH-UA`: `"Not_A Brand";v="8", "Chromium";v="146", "Microsoft Edge";v="146"`
- `Sec-CH-UA-Mobile`: `?0`
- `Sec-CH-UA-Platform`: `"Windows"`

In light of the industry's failure to address the excesses of network tracking, AdNauseam allows individual users to take matters into their own hands, offering active defense against surveillance, profiling and potential discrimination. The software thus represents a similar approach to that of <a href="https://rednoise.org/daniel/res/pdfs/trackmenot2009.pdf" target="_blank">TrackMeNot</a>, relocating power in the hands of individual users, rather than vast commercial entities. For further information on this approach, please see <a href="https://rednoise.org/daniel/res/pdfs/trackmenot2009.pdf" target="_blank">this paper</a>.
**2. JS Environment Spoofing** (`src/js/resources/ua-spoof.js`)
- `navigator.userAgent` → Windows Edge
- `navigator.userAgentData` → brands/mobile/platform
- `navigator.appVersion` → Windows 10
- `navigator.platform` → Win64

**Result**: Complete environment consistency - trackers cannot detect Linux/Firefox via either HTTP headers or JavaScript APIs.

#### About the project
--------
---

* Web Site: https://adnauseam.io
* Authors: [Daniel C. Howe](https://rednoise.org/daniel), [Helen Nissenbaum](https://www.nyu.edu/projects/nissenbaum/) and [Mushon Zer-Aviv](http://mushon.com)
* Developers: [Daniel C. Howe](https://rednoise.org/daniel), [Sally Chen](https://github.com/cqx931) and [Alberto Harres](https://github.com/mneunomne)
* License: GPLv3 (see included [LICENSE.txt](https://github.com/dhowe/AdNauseam/blob/master/LICENSE.txt) file for full license)
* Github Repo: https://github.com/dhowe/adnauseam/
* Bug Tracker: https://github.com/dhowe/adnauseam/issues
* FAQ: https://github.com/dhowe/adnauseam/wiki/FAQ
## 🔥 SCORCHED EARTH DEFAULTS

DSAN activates in "Total War" mode from millisecond zero. No opt-in required.

#### Can I contribute?
--------
Absolutely! We are looking for coders, designers, and [translators](https://crowdin.com/project/adnauseam) to help on the project.
| Setting | Default | Effect |
|---------|---------|--------|
| `hidingAds` | **true** | Block ALL ads (no "Acceptable Ads") |
| `clickingAds` | **true** | Auto-click every blocked ad |
| `blockingMalware` | **true** | Aggressive blocking |
| `clickProbability` | **1.0** | 100% click rate on all ads |
| `firstInstall` | **false** | Zero onboarding/welcome screens |

If you are a coder or designer, just press *Fork* at the top of this github page and get started... Or, if you'd like to contribute a translation, please visit [this page](https://crowdin.com/project/adnauseam).
### Data Poisoning Mechanism
- Every blocked ad is "clicked" in shadow-DOM
- Marketing trackers receive synthetic click data
- Ad networks receive corrupted engagement metrics
- **ROI destruction**: 1 install = ~$0.00 value to advertisers

If you're not sure where to start, look at the issues labeled [HELP US CODE](https://github.com/dhowe/AdNauseam/labels/HELP-US-CODE). Thanks!
---

#### How to install the development environment
## 📜 THE "SOVEREIGN" LEGAL BLOCK

1. [Fork and clone](https://help.github.com/articles/fork-a-repo) this repository:
### GPLv3 + Section 7 Additional Permissions

```bash
$ git clone https://github.com/dhowe/AdNauseam.git
```
This software is distributed under the GNU General Public License v3.0, with additional permissions under **Section 7** (Other Legal):

2. [How to build the extension for various browsers](https://github.com/dhowe/AdNauseam/wiki/Building-AdNauseam-from-source-(for-developers))
> *"When conveying the Program, the recipient automatically receives a license from the original licensors, to run, modify and propagate the work, except as defined below."*

<br>
### Fork-or-Die Mandate

Or, support us with a monthly donation and [become a backer](https://opencollective.com/adnauseam#backer)!
DSAN explicitly invokes GPLv3 Section 7 to require:

<br>
1. **Forking is mandatory**: All derivative works MUST fork and maintain the Scorched Earth defaults
2. **No neutering**: Removing the poisoning engine voids the license
3. **SSX Clause**: "Self-Sovereign-Expansion" - forks may add MORE aggressive anti-tracking but NOT LESS
4. **No proprietary capture**: This software can be included in commercial products, but the source must remain open

[![open-collective](https://opencollective.com/adnauseam/contributors.svg?width=890)](https://github.com/dhowe/adnauseam/graphs/contributors)
**Legal Position**: The advertising industry's "Terms of Service" do not constitute a valid contract when they require users to surrender privacy as a condition of service. DSAN operates as counter-surveillance under the doctrine of legitimate interest.

##### And special thanks to our open-source support contributors!
---

<img src="https://pagekite.net/static/skin/i/pagekite-logo.png" width="100"/>
## 🔨 Build Instructions

<br>
```bash
# Clone the repository
git clone https://github.com/supersonic-xserver/DarkSonicAdNauseam.git
cd DarkSonicAdNauseam

# Build for Chromium (default)
make chromium

# Build for Firefox
make firefox

# Build for MV3
make mv3-chromium
```

### Output
- `dist/build/uBlock0.chromium/` - Extension directory
- Load as unpacked extension in browser

## ⚠️ Warning

**This extension is NOT compatible with other ad-blockers.** Using multiple blockers will cause conflicts and may reduce effectiveness.

DSAN is designed for power users who understand:
1. Privacy requires offensive action, not passive blocking
2. Advertising is a surveillance economy, not a service
3. The only winning move is to make tracking economically destructive

---

## 🔗 Links

* **Repository**: https://github.com/supersonic-xserver/DarkSonicAdNauseam
* **License**: [LICENSE.txt](LICENSE.txt) (GPLv3 + SSX)
* **FAQ**: https://github.com/dhowe/AdNauseam/wiki/FAQ

---

<div align="center">
<sub>DarkSonicAdNauseam © 2026 | Poison the Poisoners</sub>
</div>
Loading