summaryrefslogtreecommitdiffstats
path: root/etc/firefox.profile
blob: ad275bab6129efb064062fed1d1f6cd854e23cfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Firejail profile for firefox
# Description: Safe and easy web browser from Mozilla
# This file is overwritten after every install/update
# Persistent local customizations
include firefox.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.cache/mozilla
noblacklist ${HOME}/.mozilla

mkdir ${HOME}/.cache/mozilla/firefox
mkdir ${HOME}/.mozilla
whitelist ${HOME}/.cache/mozilla/firefox
whitelist ${HOME}/.mozilla

# firefox requires a shell to launch on Arch.
#private-bin bash,dbus-launch,dbus-send,env,firefox,sh,which
# Fedora use shell scripts to launch firefox, at least this is required
#private-bin bash,firefox,basename,uname,false,pidof,cat,rm,rmdir,mkdir,sed,ln,true,dirname,which,awk,env
# private-etc must first be enabled in firefox-common.profile
#private-etc firefox

# Redirect
include firefox-common.profile