diff options
Diffstat (limited to 'etc/profile-a-l/firefox.profile')
-rw-r--r-- | etc/profile-a-l/firefox.profile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile new file mode 100644 index 000000000..4a2cb260f --- /dev/null +++ b/etc/profile-a-l/firefox.profile | |||
@@ -0,0 +1,32 @@ | |||
1 | # Firejail profile for firefox | ||
2 | # Description: Safe and easy web browser from Mozilla | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include firefox.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/mozilla | ||
10 | noblacklist ${HOME}/.mozilla | ||
11 | |||
12 | mkdir ${HOME}/.cache/mozilla/firefox | ||
13 | mkdir ${HOME}/.mozilla | ||
14 | whitelist ${HOME}/.cache/mozilla/firefox | ||
15 | whitelist ${HOME}/.mozilla | ||
16 | |||
17 | whitelist /usr/share/doc | ||
18 | whitelist /usr/share/firefox | ||
19 | whitelist /usr/share/gtk-doc/html | ||
20 | whitelist /usr/share/mozilla | ||
21 | whitelist /usr/share/webext | ||
22 | include whitelist-usr-share-common.inc | ||
23 | |||
24 | # firefox requires a shell to launch on Arch. | ||
25 | #private-bin bash,dbus-launch,dbus-send,env,firefox,sh,which | ||
26 | # Fedora use shell scripts to launch firefox, at least this is required | ||
27 | #private-bin basename,bash,cat,dirname,expr,false,firefox,firefox-wayland,ln,mkdir,pidof,rm,rmdir,sed,sh,tclsh,true,uname | ||
28 | # private-etc must first be enabled in firefox-common.profile | ||
29 | #private-etc firefox | ||
30 | |||
31 | # Redirect | ||
32 | include firefox-common.profile | ||