# Privacy Hub on desktop?

**URL:** <https://community.brave.app/t/privacy-hub-on-desktop/587364>\
**Category:** Desktop Support\
**Tags:** browser\
**Created:** [December 18, 2024, 10:09am UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364 "2024-12-18T10:09:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![supermurs](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@supermurs](https://community.brave.app/u/supermurs)\
**Post date:** [December 18, 2024, 10:09am UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/1 "2024-12-18T10:09:55Z")

</div>

Hi,

I noticed that there is a Privacy Hub feature on mobile which shows details about the things the Shields have blocked.

Is there a similar feature on desktop browser?

I couldn’t find it and also didn’t find anything here or on Reddit.

---

<div class="post-metadata">

**Author:** ![289wk](https://avatars.discourse-cdn.com/v4/letter/2/439d5e/32.png) [@289wk](https://community.brave.app/u/289wk)\
**Post date:** [December 18, 2024, 10:42am UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/2 "2024-12-18T10:42:16Z")

</div>

> [@How do I reset Brave Privacy Hub Stats?](https://community.brave.app/t/how-do-i-reset-brave-privacy-hub-stats/524021/7):
>
> @User.1.000.000.000, Unfortunately there is no “easy” way to do this. That’s not to say that the way to do this is hard, just that it’s not conventional and does require some additional work. The instructions for both OS are the same, but the file needed is in different places. To do this: For macOS, open finder and go to: ~/Users/[your user name]/Library/Application Support/BraveSoftware/Brave-Browser For Windows OS, go to: C:/Users/[your user name]/AppData/Local/BraveSoftware/Brave-Brow…

> [@How do I reset Brave Privacy Hub Stats?](https://community.brave.app/t/how-do-i-reset-brave-privacy-hub-stats/524021/8):
>
> Thank you as well, may I ask though is there going to be an implementation to make it easier in the future?

> [@How do I reset Brave Privacy Hub Stats?](https://community.brave.app/t/how-do-i-reset-brave-privacy-hub-stats/524021/9):
>
> I don’t think we have any plans to include this in the desktop build — but i’ll do some digging to confirm.

* * *

The good quality text editors have sort capability:

* * *

A good quality text editor for Windows OS users:

Just Great Software - a more capable text editor:

EditPad Lite / EditPad Pro

“[https://www.editpadlite.com/](https://www.editpadlite.com/)”

“[https://www.editpadpro.com/](https://www.editpadpro.com/)”

* * *

For Mac OS users:

BBEdit at Barebones Software:

“[https://www.barebones.com/](https://www.barebones.com/)”

* * *

Linux OS - users might use EditPad Lite via WINE:

“[https://www.editpadlite.com/wine.html](https://www.editpadlite.com/wine.html)”

---

<div class="post-metadata">

**Author:** ![supermurs](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@supermurs](https://community.brave.app/u/supermurs)\
**Post date:** [December 18, 2024, 5:51pm UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/3 "2024-12-18T17:51:12Z")

</div>

Thanks, this was not exactly what I had in mind but actually I was able to make this work.

I now have a python script which prints the “ads\_blocked” value in my terminal like this: Current ads\_blocked value: 3969

---

<div class="post-metadata">

**Author:** ![supermurs](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@supermurs](https://community.brave.app/u/supermurs)\
**Post date:** [December 18, 2024, 5:53pm UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/4 "2024-12-18T17:53:18Z")

</div>

If anyone is interested, here is the script:

```auto
import os
import re

# Define the path to the Preferences file
preferences_path = "/Users/<username>/Library/Application Support/BraveSoftware/Brave-Browser/Default/Preferences"

# Function to read and display the ads_blocked value
def display_ads_blocked():
    # Check if the Preferences file exists
    if not os.path.exists(preferences_path):
        print("Preferences file not found.")
        return

    # Read the current Preferences file
    with open(preferences_path, 'r') as file:
        content = file.read()

    # Use a regular expression to find the ads_blocked value
    match = re.search(r'"ads_blocked":"(\d+)"', content)
    
    if match:
        ads_blocked_value = match.group(1) # Extract the captured group
        print(f"Current ads_blocked value: {ads_blocked_value}")
    else:
        print("ads_blocked key not found.")

# Run the function
display_ads_blocked()

```

When I run it, I type:

```auto
python3 braveads.py

```

This is for macOS but probably works on other platforms too.

---

<div class="post-metadata">

**Author:** ![289wk](https://avatars.discourse-cdn.com/v4/letter/2/439d5e/32.png) [@289wk](https://community.brave.app/u/289wk)\
**Post date:** [December 18, 2024, 6:11pm UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/5 "2024-12-18T18:11:20Z")

</div>

May interest - an AppleScript that saves Tabs (title and link combinations) to a Mac Desktop file:

> [@Browser session not restored after upgrade to Mac OS Sequoia (all tabs lost)](https://community.brave.app/t/browser-session-not-restored-after-upgrade-to-mac-os-sequoia-all-tabs-lost/576383/4):
>
> The following AppleScript was originally written for Google Chrome users, but I significantly edited and added to the AppleScript, so it works for Brave Browser (MacOS) and does a bit more than the original script. (I am NOT the original author; see notes at end of text, below.) If a MacOS user wants to try the AppleScript, they need to copy the text contents (below) and paste that into a new Script Editor.app window on their Mac, and then save that new AppleScript, as: Export\_Brave\_Tabs\_to\_T…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [January 17, 2025, 6:11pm UTC](https://community.brave.app/t/privacy-hub-on-desktop/587364/6 "2025-01-17T18:11:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
