qutebrowser: Allow autoplay on Invidious

This commit is contained in:
Simon Bruder 2023-07-29 17:34:30 +02:00
parent 23b81817ba
commit 167b488ff2
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -27,6 +27,10 @@ let
"https://chat.sbruder.de"
];
permissionAutoplay = [
"https://iv.sbruder.xyz"
];
cookieExceptions = [
];
in
@ -243,6 +247,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable
${setOptionForeachPattern "content.media.video_capture" true permissionVideo}
${setOptionForeachPattern "content.notifications.enabled" true permissionNotifications}
${setOptionForeachPattern "content.autoplay" true permissionAutoplay}
# Cookie exceptions
${setOptionForeachPattern "content.cookies.accept" "all" cookieExceptions}
'';