[GH-ISSUE #122] Questin about Firefox extension manifest #89

Closed
opened 2026-03-04 00:03:44 +03:00 by kerem · 5 comments
Owner

Originally created by @Tiagoquix on GitHub (Oct 27, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/122

In Firefox extension settings, it is declared that access to YT domains is an optional permission (meaning it can be disabled). I think this is a mistake. Shouldn't it be classified as required?

Image

Thanks.

Originally created by @Tiagoquix on GitHub (Oct 27, 2025). Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/122 In Firefox extension settings, it is declared that access to YT domains is an optional permission (meaning it can be disabled). I think this is a mistake. Shouldn't it be classified as required? <img width="756" height="498" alt="Image" src="https://github.com/user-attachments/assets/55b8b5a4-f711-4945-97fd-f2b29fb0d2d2" /> Thanks.
kerem closed this issue 2026-03-04 00:03:44 +03:00
Author
Owner

@YouG-o commented on GitHub (Oct 28, 2025):

Hey! Yeah, it's a bit confusing. Firefox labels host_permissions as "optional" because of how Manifest V3 works, but the extension actually needs it to function 'properly'. I use it for cross-tab messaging, like when you change the audio language in the popup for example, it sends a message to all your open YouTube tabs so the change applies instantly without refreshing. Without this permission, the popup can't communicate with the content scripts (not instantly at least, would need a tab refresh).

Maybe I'll remove this in a future update to avoid confusions, as it is not that usefull (don't think many people change their settings after install)

Or maybe if I'm not lazy, I'll update the message system to listen to browser storage changes or something like that, this should allow settings update without any of those permissions.

<!-- gh-comment-id:3456400751 --> @YouG-o commented on GitHub (Oct 28, 2025): Hey! Yeah, it's a bit confusing. Firefox labels host_permissions as "optional" because of how Manifest V3 works, but the extension actually needs it to function 'properly'. I use it for cross-tab messaging, like when you change the audio language in the popup for example, it sends a message to all your open YouTube tabs so the change applies instantly without refreshing. Without this permission, the popup can't communicate with the content scripts (not instantly at least, would need a tab refresh). Maybe I'll remove this in a future update to avoid confusions, as it is not that usefull (don't think many people change their settings after install) Or maybe if I'm not lazy, I'll update the message system to listen to browser storage changes or something like that, this should allow settings update without any of those permissions.
Author
Owner

@Tiagoquix commented on GitHub (Oct 28, 2025):

@YouG-o Can you mark such permissions as required as not to allow their toggle-ability?

For example, uBlock Origin has required-type permissions:

Image
<!-- gh-comment-id:3456955265 --> @Tiagoquix commented on GitHub (Oct 28, 2025): @YouG-o Can you mark such permissions as required as not to allow their toggle-ability? For example, uBlock Origin has required-type permissions: <img width="679" height="397" alt="Image" src="https://github.com/user-attachments/assets/8c248917-0981-4e9c-8fb9-207a2498d6f0" />
Author
Owner

@YouG-o commented on GitHub (Oct 28, 2025):

Sure, I'll have a deeper look and see what I can do.

<!-- gh-comment-id:3457020307 --> @YouG-o commented on GitHub (Oct 28, 2025): Sure, I'll have a deeper look and see what I can do.
Author
Owner

@Tiagoquix commented on GitHub (Feb 10, 2026):

hi @YouG-o , any news?

<!-- gh-comment-id:3880133935 --> @Tiagoquix commented on GitHub (Feb 10, 2026): hi @YouG-o , any news?
Author
Owner

@YouG-o commented on GitHub (Feb 11, 2026):

Hi unfortunately no. I do not have time to work on my open sources tools lately.
And this is not a priority. It's not even a problem from my point of view. Maybe you can convice me otherwise? I'm not an expert at this.

<!-- gh-comment-id:3882837492 --> @YouG-o commented on GitHub (Feb 11, 2026): Hi unfortunately no. I do not have time to work on my open sources tools lately. And this is not a priority. It's not even a problem from my point of view. Maybe you can convice me otherwise? I'm not an expert at this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/YouTube-No-Translation#89
No description provided.