fatboy wrote: ↑Mon Apr 21, 2025 10:23 am
So, if file:/// saved from example.com. is open
and it wants to load active content from notexample.com,
then the "x-load" checkbox should appear in file: -> CUSTOM with the tooltip:
"Capability for ‹…› directory."
More like if you open "file:///home/fatboy/Downloads/somepage.html" and it tries to load anything, even an image, from an unrelated directory (e.g. "file:///home/fatboy/.config/
chromium/Avatars/avatar_generic.png"), then a "x-load" placeholder is shown, and also in the permissions popup you get a CUSTOM line for file:///home/fatboy/.config/
chromium/Avatars/ entry with the "x-load" checkbox first in the customization interface. No tooltip yet, though; "description" in messages.json files are just meant as an explainer for translator, AFAIK. I will need to add extra "cap_xxx_tooltip" entries (or something like that) with messages like "If granted, this capability allows files in this directory to be loaded by any other file:/// document".