Vasilis’ nerd blog presents
I make digital art, which I show on (small) screens. These screens are attached to a raspberry pi computer with firefox as a browser. This browsers runs in fullscreen mode, which means only the art is visible, and not the chrome of the browser. I never want to see that the art actually runs in a browser, but alas, firefox thinks it is necessary to show me alerts every now and then. If I want to translate the page, or if I want to use a vpn, or if I want to refresh my profile. The answer will always be no.
It turns out you can disable these unwanted messages by creating a policies.json file. First you sudo mkdir /etc/firefox/policies and then you sudo nano /etc/firefox/policies/policies.json in which you copy and paste this code:
{
"policies": {
"DisableProfileRefresh": true,
"UserMessaging": {
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false,
"SkipOnboarding": true,
"MoreFromMozilla": false,
"FirefoxLabs": false,
"Locked": true
},
"IPProtectionAvailable": false,
"DisableAppUpdate": true,
"TranslateEnabled": false
}
}That should fix it. At least for now, until they come up with something else to bug me with. I’ll update this post when they do.