diff options
Diffstat (limited to '.config/firejail/firefox.profile')
| -rw-r--r-- | .config/firejail/firefox.profile | 51 |
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 | ||
| 5 | include firefox.local | ||
| 6 | # Persistent global definitions | ||
| 7 | include globals.local | ||
| 8 | |||
| 9 | name firefox | ||
| 10 | |||
| 11 | noblacklist ${HOME}/.cache/mozilla | ||
| 12 | noblacklist ${HOME}/.mozilla | ||
| 13 | |||
| 14 | mkdir ${HOME}/.cache/mozilla/firefox | ||
| 15 | mkdir ${HOME}/.mozilla | ||
| 16 | whitelist ${HOME}/.cache/mozilla/firefox | ||
| 17 | whitelist ${HOME}/.mozilla | ||
| 18 | |||
| 19 | whitelist /usr/share/doc | ||
| 20 | whitelist /usr/share/firefox | ||
| 21 | whitelist /usr/share/gnome-shell/search-providers/firefox-search-provider.ini | ||
| 22 | whitelist /usr/share/gtk-doc/html | ||
| 23 | whitelist /usr/share/mozilla | ||
| 24 | whitelist /usr/share/webext | ||
| 25 | whitelist ${HOME}/repos/website | ||
| 26 | whitelist ${HOME}/documents/local_webpages/ | ||
| 27 | include 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 | |||
| 36 | dbus-user filter | ||
| 37 | dbus-user.own org.mozilla.Firefox.* | ||
| 38 | dbus-user.own org.mozilla.firefox.* | ||
| 39 | dbus-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 | ||
| 48 | ignore dbus-user none | ||
| 49 | |||
| 50 | # Redirect | ||
| 51 | include firefox-common.profile | ||
