Advanced Ad Tracker Logger

Logs and exports all ad/tracker URLs (.js, links, redirects, fetch) with download support even on redirecting pages

Autor
Abdelali-souini
Installationen heute
0
Installationen gesamt
0
Bewertungen
0 0 0
Version
2.0
Erstellt am
07.05.2025
Letzte Aktualisierung
07.05.2025
Größe
4,85 KB
Lizenz
n/a
Wird angewandt auf
Alle Seiten

The Advanced Ad Tracker Logger is a powerful Tampermonkey script designed to detect, log, and export ad and tracker-related URLs across any webpage. It captures scripts, external links, redirects, and network requests (fetch/XHR) that match common advertising and tracking patterns. The script provides an easy export feature, allowing users to download a detailed JSON report for further analysis.

Key Features
✔ Comprehensive Tracking Detection – Identifies ad-related scripts, links, and network requests using a customizable keyword list (e.g., doubleclick, analytics, revbid, coinzilla).

✔ DOM & Dynamic Content Scanning – Monitors page changes in real-time using a MutationObserver, ensuring delayed or dynamically injected ads are captured.

✔ Iframe & Cross-Origin Detection – Attempts to scan nested iframes for hidden trackers (respects cross-origin restrictions).

✔ Network Request Interception – Hooks into fetch and XMLHttpRequest to log ad-related API calls.

✔ Redirect & History Monitoring – Tracks URL changes via pushState, replaceState, and hashchange events to detect ad-based redirects.

✔ One-Click Export – Generates a downloadable JSON report containing all detected ads, trackers, and external links with contextual information.

✔ User-Friendly UI – Adds a fixed-position export button for quick access to logs.

Use Cases
Ad Blocking Analysis – Identify which trackers and ads are present on a website.

Security & Privacy Auditing – Detect third-party tracking scripts for compliance checks.

Web Development & Debugging – Monitor unwanted ad injections or suspicious redirects.

Installation & Usage
Install Tampermonkey (Browser Extension).

Add the Advanced Ad Tracker Logger script.

Browse any website – the script automatically logs ads/trackers.

Click the "📦 Export Ads Log" button to download the report.