Privacy Hub on desktop?

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.


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.editpadpro.com/


For Mac OS users:

BBEdit at Barebones Software:

https://www.barebones.com/


Linux OS - users might use EditPad Lite via WINE:

https://www.editpadlite.com/wine.html

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

1 Like

If anyone is interested, here is the script:

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:

python3 braveads.py

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

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

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