Set custom preferences for Brave browser in disposable qube

Thanks for the very simple and effective guide. Is there a similar mechanism available in Brave to populate the 'Local State' file (~/.config/BraveSoftware/Brave-Browser/) with initial preferences?

Disabling the following three settings is suggested by the guide linked above:

Privacy & Security > Data collection > analytics (p3a) & daily usage ping Brave (stats)
System > continue running apps

But simply adding the relevant JSON entries to intitial_preferences will not propogate to the 'Local State' file.

JSON entries for Local State
 {
	  "background_mode": {
	    "enabled": false
	  },
	  
        "brave": {
             "p3a": {
                "enabled": false
            },
            "stats": {
                "reporting_enabled": false
            }
}

Side note, additional entries beyond these three could be set automatically as well (see Brave Disposable).

1 Like