This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Third-Party Cookie Count Trend Badge

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Third-Party Cookie Count Trend Badge helps you understand the cookie landscape of any webpage by tracking third-party cookie counts in real-time. The script scans document.cookie to count total cookies and distinguishes between first-party and third-party cookies based on domain. A visible badge shows the number of third-party cookies found with color-coded indicators—green for low, yellow for moderate, orange for high, and red for very high. A mini trend chart shows cookie count changes over time, making it easy to see how cookies accumulate as the page loads. The dashboard provides a breakdown of cookies by domain, showing which third-party domains are setting the most cookies. Cookie categories (tracking, authentication, analytics, advertising) help identify the purpose of each cookie. A timeline view logs every cookie count change. The script alerts you when significant changes in third-party cookie counts are detected.

WHERE IT RUNS

This script runs on every website (matching all URLs), analyzing cookie counts across the entire web. It works on any page and automatically adapts to each site's cookie usage patterns. The script handles both static and dynamically loaded content.

HOW TO USE

After installing through the BotGentz extension, the script automatically scans for cookies on any page you visit. A badge shows the third-party cookie count. Open the configuration panel to view the full dashboard—total cookies, first-party vs third-party breakdown, third-party percentage, domain breakdown, trend chart, and recent change timeline. Use the panel to customize your experience: toggle the cookie badge on or off, show or hide the trend chart, show or hide the domain breakdown, enable or disable auto-tracking, enable or disable change alerts, and set the refresh interval in seconds. Use the "Scan Cookies" button to manually scan, or "Clear History" to reset the trend history.

DOCUMENT.COOKIE PARSING WITH DOMAIN DETECTION AND TREND TRACKING

This script implements a cookie analysis engine that reads document.cookie and parses each cookie's name and value. The domain detection compares each cookie's domain (when available) against the page's hostname to classify cookies as first-party or third-party. The trend tracking engine stores cookie count snapshots with timestamps in memory, building a history of up to 100 data points. The mini chart visualizes trends with stacked bars showing first-party (green) and third-party (red) cookies. The change detection system compares consecutive scans and triggers GM_notification when the third-party count changes. The domain breakdown aggregates cookies by domain, showing which external domains are setting the most cookies.

THE PANEL

The configuration panel is fully draggable and remembers its position per-site using GM_setValue. It snaps to screen edges when dragged near them, collapses to a compact bubble when minimized, and supports Escape key for quick collapse. All settings—including badge visibility, trend chart display, breakdown visibility, auto-tracking, change alerts, and refresh interval—are persisted across sessions.

PLEASE NOTE

This script requires the free BotGentz extension to run. The script runs on all websites and reads document.cookie to analyze cookie counts. It does not capture, store, or transmit any personal information. All cookie data is stored locally in your browser and never transmitted to external servers. The script only reads cookie names and counts—it does not read cookie values or content. Due to browser security restrictions, the script can only see cookies accessible to the current page and may not detect all third-party cookies set via network requests. This tool is provided for informational and educational purposes only.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.