diff options
author | pirate486743186 <429925+pirate486743186@users.noreply.github.com> | 2022-11-23 08:32:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 07:32:49 +0000 |
commit | bf747f4eba613ad143728617711b3630133068df (patch) | |
tree | d266f574a46597ff3f6d8a673340f82e3b86d7d3 /etc/profile-m-z | |
parent | Add python3 support/fixes to nicotine (#5459) (diff) | |
download | firejail-bf747f4eba613ad143728617711b3630133068df.tar.gz firejail-bf747f4eba613ad143728617711b3630133068df.tar.zst firejail-bf747f4eba613ad143728617711b3630133068df.zip |
fix opening links in firefox youtube-viewers-common.profile (#5352)
Co-authored-by: pirate486743186 <>
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/youtube-viewers-common.profile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile index 8582e2462..28c219377 100644 --- a/etc/profile-m-z/youtube-viewers-common.profile +++ b/etc/profile-m-z/youtube-viewers-common.profile | |||
@@ -19,6 +19,13 @@ include allow-perl.inc | |||
19 | include allow-python2.inc | 19 | include allow-python2.inc |
20 | include allow-python3.inc | 20 | include allow-python3.inc |
21 | 21 | ||
22 | # The lines below are needed to find the default Firefox profile name, to allow | ||
23 | # opening links in an existing instance of Firefox (note that it still fails if | ||
24 | # there isn't a Firefox instance running with the default profile; see #5352) | ||
25 | noblacklist ${HOME}/.mozilla | ||
26 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
27 | read-only ${HOME}/.mozilla/firefox/profiles.ini | ||
28 | |||
22 | include disable-common.inc | 29 | include disable-common.inc |
23 | include disable-devel.inc | 30 | include disable-devel.inc |
24 | include disable-exec.inc | 31 | include disable-exec.inc |
@@ -55,5 +62,8 @@ private-dev | |||
55 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg | 62 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg |
56 | private-tmp | 63 | private-tmp |
57 | 64 | ||
58 | dbus-user none | 65 | dbus-user filter |
66 | # allow D-Bus communication with firefox for opening links | ||
67 | dbus-user.talk org.mozilla.* | ||
68 | |||
59 | dbus-system none | 69 | dbus-system none |