summaryrefslogtreecommitdiff
path: root/.config/firejail/firefox.profile
diff options
context:
space:
mode:
Diffstat (limited to '.config/firejail/firefox.profile')
-rw-r--r--.config/firejail/firefox.profile51
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/firejail/firefox.profile b/.config/firejail/firefox.profile
new file mode 100644
index 0000000..158cf24
--- /dev/null
+++ b/.config/firejail/firefox.profile
@@ -0,0 +1,51 @@
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
5include firefox.local
6# Persistent global definitions
7include globals.local
8
9name firefox
10
11noblacklist ${HOME}/.cache/mozilla
12noblacklist ${HOME}/.mozilla
13
14mkdir ${HOME}/.cache/mozilla/firefox
15mkdir ${HOME}/.mozilla
16whitelist ${HOME}/.cache/mozilla/firefox
17whitelist ${HOME}/.mozilla
18
19whitelist /usr/share/doc
20whitelist /usr/share/firefox
21whitelist /usr/share/gnome-shell/search-providers/firefox-search-provider.ini
22whitelist /usr/share/gtk-doc/html
23whitelist /usr/share/mozilla
24whitelist /usr/share/webext
25whitelist ${HOME}/repos/website
26whitelist ${HOME}/documents/local_webpages/
27include whitelist-usr-share-common.inc
28
29# firefox requires a shell to launch on Arch.
30#private-bin bash,dbus-launch,dbus-send,env,firefox,sh,which
31# Fedora use shell scripts to launch firefox, at least this is required
32#private-bin basename,bash,cat,dirname,expr,false,firefox,firefox-wayland,getenforce,ln,mkdir,pidof,restorecon,rm,rmdir,sed,sh,tclsh,true,uname
33# private-etc must first be enabled in firefox-common.profile
34#private-etc firefox
35
36dbus-user filter
37dbus-user.own org.mozilla.Firefox.*
38dbus-user.own org.mozilla.firefox.*
39dbus-user.own org.mpris.MediaPlayer2.firefox.*
40# Uncomment or put in your firefox.local to enable native notifications.
41#dbus-user.talk org.freedesktop.Notifications
42# Uncomment or put in your firefox.local to allow to inhibit screensavers
43#dbus-user.talk org.freedesktop.ScreenSaver
44# Uncomment or put in your firefox.local for plasma browser integration
45#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
46#dbus-user.talk org.kde.JobViewServer
47#dbus-user.talk org.kde.kuiserver
48ignore dbus-user none
49
50# Redirect
51include firefox-common.profile